Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 109.1 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.541/2.541, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 63.91 kB / 1.056 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6904/0.6923, allocations: 160.7 MB / 1.213 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002199/0.6945, allocations: 0.8865 MB / 1.214 GB, free: 3.254 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.6956, allocations: 0.8759 MB / 1.215 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.577e-05/0.6957, allocations: 2.188 kB / 1.215 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.098e-05/0.6958, allocations: 7.875 kB / 1.215 GB, free: 2.527 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.753e-05/0.6959, allocations: 18.17 kB / 1.215 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.696, allocations: 48.16 kB / 1.215 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.6962, allocations: 105.4 kB / 1.215 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.6963, allocations: 30.59 kB / 1.215 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.6964, allocations: 56.17 kB / 1.215 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.6965, allocations: 48.69 kB / 1.215 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.6966, allocations: 9.938 kB / 1.215 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.854e-05/0.6966, allocations: 10.59 kB / 1.215 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.177e-05/0.6966, allocations: 27.12 kB / 1.215 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.844e-05/0.6967, allocations: 50.19 kB / 1.215 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.6968, allocations: 125.1 kB / 1.215 GB, free: 2.148 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.6969, allocations: 1.094 kB / 1.215 GB, free: 2.148 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6969, allocations: 0 / 1.215 GB, free: 2.148 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.6969, allocations: 0 / 1.215 GB, free: 2.148 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009249/0.6978, allocations: 466.3 kB / 1.216 GB, free: 1.703 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.6978, allocations: 10.16 kB / 1.216 GB, free: 1.703 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.008e-05/0.6979, allocations: 40.86 kB / 1.216 GB, free: 1.656 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.6979, allocations: 19.09 kB / 1.216 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.6981, allocations: 182.4 kB / 1.216 GB, free: 1.434 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.6981, allocations: 7.562 kB / 1.216 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.6981, allocations: 5.75 kB / 1.216 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.6984, allocations: 95.48 kB / 1.216 GB, free: 1.359 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.6984, allocations: 3.938 kB / 1.216 GB, free: 1.355 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.6984, allocations: 5.094 kB / 1.216 GB, free: 1.352 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.6984, allocations: 2.188 kB / 1.216 GB, free: 1.352 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.6986, allocations: 70.52 kB / 1.216 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007611/0.6993, allocations: 403.3 kB / 1.216 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.6995, allocations: 57.94 kB / 1.216 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.76e-05/0.6996, allocations: 34.41 kB / 1.216 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.6996, allocations: 4.953 kB / 1.216 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.6996, allocations: 31.69 kB / 1.217 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.6996, allocations: 0 / 1.217 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0003681/0.7, allocations: 115.7 kB / 1.217 GB, free: 0.75 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.7, allocations: 56.62 kB / 1.217 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.7002, allocations: 159.4 kB / 1.217 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.7002, allocations: 26.77 kB / 1.217 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.7003, allocations: 110 kB / 1.217 GB, free: 424 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.7003, allocations: 13.19 kB / 1.217 GB, free: 412 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.7003, allocations: 19.56 kB / 1.217 GB, free: 392 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.7005, allocations: 321.1 kB / 1.217 GB, free: 64 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.552e-05/0.7006, allocations: 28.05 kB / 1.217 GB, free: 52 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.616e-05/0.7006, allocations: 31.25 kB / 1.217 GB, free: 36 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.7008, allocations: 49.62 kB / 1.217 GB, free: 8 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7008, allocations: 0 / 1.217 GB, free: 8 kB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002425/0.701, allocations: 100.5 kB / 1.217 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.701, allocations: 8.594 kB / 1.218 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.701, allocations: 0 / 1.218 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.7011, allocations: 0 / 1.218 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.774e-05/0.7012, allocations: 14.97 kB / 1.218 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.7012, allocations: 7.938 kB / 1.218 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.7013, allocations: 26.3 kB / 1.218 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.7014, allocations: 1.5 kB / 1.218 GB, free: 15.91 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.7015, allocations: 124.2 kB / 1.218 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.7015, allocations: 8.297 kB / 1.218 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.7015, allocations: 18.77 kB / 1.218 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.7015, allocations: 1.062 kB / 1.218 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.7015, allocations: 7.938 kB / 1.218 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.7015, allocations: 1.219 kB / 1.218 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.7018, allocations: 203.1 kB / 1.218 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7018, allocations: 0 / 1.218 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-05/0.7018, allocations: 18.3 kB / 1.218 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7018, allocations: 3.828 kB / 1.218 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.7019, allocations: 1.031 kB / 1.218 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.7019, allocations: 0 / 1.218 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.7019, allocations: 9.062 kB / 1.218 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.7021, allocations: 181.5 kB / 1.218 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.512e-05/0.7022, allocations: 87.27 kB / 1.218 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.7022, allocations: 1.094 kB / 1.218 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.7024, allocations: 29.72 kB / 1.218 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.7024, allocations: 18.38 kB / 1.218 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.7025, allocations: 1.438 kB / 1.218 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.161e-05/0.7025, allocations: 114.7 kB / 1.218 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6e-08/0.7025, allocations: 1.156 kB / 1.218 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002381/0.7028, allocations: 15.69 kB / 1.218 GB, free: 15.12 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005671/0.7033, allocations: 0.7191 MB / 1.219 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002195/0.7036, allocations: 64.14 kB / 1.219 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7036, allocations: 0 / 1.219 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.401e-05/0.7037, allocations: 34.58 kB / 1.219 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.704, allocations: 20.92 kB / 1.219 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.7059, allocations: 1.601 MB / 1.221 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.7062, allocations: 0.6997 MB / 1.221 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.307e-05/0.7062, allocations: 6.844 kB / 1.221 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.7063, allocations: 31.48 kB / 1.221 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of SimCode: time 4e-07/0.7063, allocations: 1.5 kB / 1.221 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.7312, allocations: 2.776 MB / 1.224 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/8.619, allocations: 7.984 kB / 1.224 GB, free: 10.79 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.144935324322432]