Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 217.2 kB / 22.25 MB, free: 4.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.072/3.072, allocations: 0.4892 GB / 0.7943 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 72.98 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3537, allocations: 176.1 MB / 1.325 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007056/0.3608, allocations: 4.503 MB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1655/0.5263, allocations: 132.7 MB / 1.459 GB, free: 8.672 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008589/0.5271, allocations: 23.81 kB / 1.459 GB, free: 8.648 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00065/0.5278, allocations: 198.2 kB / 1.459 GB, free: 8.453 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00194/0.5297, allocations: 0.5632 MB / 1.46 GB, free: 7.891 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.5319, allocations: 0.8557 MB / 1.461 GB, free: 7.039 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00176/0.5336, allocations: 1.397 MB / 1.462 GB, free: 5.637 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007826/0.5344, allocations: 386 kB / 1.462 GB, free: 5.234 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007488/0.5352, allocations: 0.5022 MB / 1.463 GB, free: 4.73 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006217/0.5358, allocations: 461.8 kB / 1.463 GB, free: 4.277 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.536, allocations: 116 kB / 1.463 GB, free: 4.164 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.537, allocations: 491.6 kB / 1.464 GB, free: 3.684 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003117/0.5373, allocations: 299 kB / 1.464 GB, free: 3.391 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004932/0.5378, allocations: 465.7 kB / 1.465 GB, free: 2.934 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002178/0.54, allocations: 1.677 MB / 1.466 GB, free: 1.25 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.54, allocations: 0 / 1.466 GB, free: 1.25 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.833e-06/0.54, allocations: 0 / 1.466 GB, free: 1.25 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.032e-05/0.54, allocations: 0 / 1.466 GB, free: 1.25 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002686/0.5427, allocations: 1.419 MB / 1.468 GB, free: 15.8 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.5427, allocations: 8.031 kB / 1.468 GB, free: 15.79 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001697/0.5429, allocations: 135.3 kB / 1.468 GB, free: 15.65 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.5443, allocations: 232 kB / 1.468 GB, free: 15.42 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.5458, allocations: 0.7218 MB / 1.469 GB, free: 14.67 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.252e-05/0.5458, allocations: 69.98 kB / 1.469 GB, free: 14.6 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.546, allocations: 76 kB / 1.469 GB, free: 14.53 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.5477, allocations: 1.162 MB / 1.47 GB, free: 13.26 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.5477, allocations: 0 / 1.47 GB, free: 13.26 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.291e-05/0.5478, allocations: 39.94 kB / 1.47 GB, free: 13.22 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.5478, allocations: 24 kB / 1.47 GB, free: 13.2 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.5497, allocations: 1.054 MB / 1.471 GB, free: 12.14 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004183/0.5538, allocations: 2.274 MB / 1.473 GB, free: 9.805 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.5554, allocations: 0.7447 MB / 1.474 GB, free: 9.047 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005221/0.5559, allocations: 262.7 kB / 1.474 GB, free: 8.789 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-05/0.556, allocations: 28.62 kB / 1.474 GB, free: 8.762 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009612/0.5569, allocations: 0.5738 MB / 1.475 GB, free: 8.145 MB / 1.17 GB Notification: Performance of pre-optimization done (n=78): time 2.554e-06/0.5569, allocations: 4 kB / 1.475 GB, free: 8.141 MB / 1.17 GB Notification: Performance of matching and sorting (n=78): time 0.003251/0.5602, allocations: 1.111 MB / 1.476 GB, free: 7.023 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.5603, allocations: 188.6 kB / 1.476 GB, free: 6.793 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009284/0.5612, allocations: 0.6684 MB / 1.477 GB, free: 6.117 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.367e-05/0.5613, allocations: 41.7 kB / 1.477 GB, free: 6.07 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/0.5617, allocations: 405 kB / 1.477 GB, free: 5.668 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.5619, allocations: 265.8 kB / 1.477 GB, free: 5.406 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.5622, allocations: 146.6 kB / 1.478 GB, free: 5.258 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.5624, allocations: 394.6 kB / 1.478 GB, free: 4.863 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005273/0.5629, allocations: 241.9 kB / 1.478 GB, free: 4.625 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006967/0.5636, allocations: 487.9 kB / 1.479 GB, free: 4.09 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.5647, allocations: 0.5768 MB / 1.479 GB, free: 3.5 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.5647, allocations: 0 / 1.479 GB, free: 3.5 MB / 1.17 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00196/0.5667, allocations: 0.7984 MB / 1.48 GB, free: 2.691 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.5667, allocations: 11.94 kB / 1.48 GB, free: 2.68 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.5667, allocations: 0 / 1.48 GB, free: 2.68 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006031/0.5673, allocations: 84.84 kB / 1.48 GB, free: 2.594 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006497/0.568, allocations: 155.8 kB / 1.48 GB, free: 2.441 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.5702, allocations: 1.539 MB / 1.482 GB, free: 0.7773 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007419/0.571, allocations: 83.53 kB / 1.482 GB, free: 0.6953 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.443e-05/0.571, allocations: 27.98 kB / 1.482 GB, free: 0.668 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004642/0.5715, allocations: 270.1 kB / 1.482 GB, free: 404 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.5717, allocations: 91.44 kB / 1.482 GB, free: 312 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002434/0.5741, allocations: 1.042 MB / 1.483 GB, free: 15.25 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.5741, allocations: 11.98 kB / 1.483 GB, free: 15.24 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5742, allocations: 3.938 kB / 1.483 GB, free: 15.24 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/0.5742, allocations: 7.984 kB / 1.483 GB, free: 15.23 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.5753, allocations: 0.7391 MB / 1.484 GB, free: 14.45 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5753, allocations: 0 / 1.484 GB, free: 14.45 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005895/0.5759, allocations: 139.8 kB / 1.484 GB, free: 14.31 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004555/0.5763, allocations: 72.78 kB / 1.484 GB, free: 14.23 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.93e-05/0.5764, allocations: 27.98 kB / 1.484 GB, free: 14.21 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/0.5783, allocations: 1.555 MB / 1.486 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5783, allocations: 0 / 1.486 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/0.5805, allocations: 0.9205 MB / 1.487 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005173/0.581, allocations: 207 kB / 1.487 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.5811, allocations: 23.98 kB / 1.487 GB, free: 11.36 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006056/0.5817, allocations: 58.05 kB / 1.487 GB, free: 11.31 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.5819, allocations: 76.8 kB / 1.487 GB, free: 11.23 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.252e-05/0.582, allocations: 39.98 kB / 1.487 GB, free: 11.2 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006625/0.5826, allocations: 479 kB / 1.487 GB, free: 10.73 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5826, allocations: 0 / 1.487 GB, free: 10.73 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008812/0.5835, allocations: 323.1 kB / 1.488 GB, free: 10.41 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004323/0.5878, allocations: 1.996 MB / 1.49 GB, free: 8.602 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001887/0.5897, allocations: 0.7572 MB / 1.49 GB, free: 7.828 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.5897, allocations: 4 kB / 1.49 GB, free: 7.824 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.5908, allocations: 488.2 kB / 1.491 GB, free: 7.336 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.5922, allocations: 305.4 kB / 1.491 GB, free: 7.059 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.604, allocations: 6.246 MB / 1.497 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.6046, allocations: 436 kB / 1.498 GB, free: 192 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009595/0.6055, allocations: 266.7 kB / 1.498 GB, free: 15.92 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006576/0.6062, allocations: 403.3 kB / 1.498 GB, free: 15.53 MB / 1.201 GB Notification: Performance of SimCode: time 1.022e-06/0.6062, allocations: 0 / 1.498 GB, free: 15.53 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06782/0.674, allocations: 23.42 MB / 1.521 GB, free: 8.434 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/14.77, allocations: 5.359 kB / 1.521 GB, free: 8.43 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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: 21.455593396909535]