Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001329/0.001329, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001479/0.001479, allocations: 215 kB / 22.25 MB, free: 5.082 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.394/1.394, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.113/3.113, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_latest_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.002017/0.002017, allocations: 63.33 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3277, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006962/0.3347, allocations: 5.032 MB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1767/0.5114, allocations: 154.1 MB / 1.508 GB, free: 8.691 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009705/0.5124, allocations: 15.88 kB / 1.508 GB, free: 8.676 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006864/0.513, allocations: 206.1 kB / 1.508 GB, free: 8.473 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.5149, allocations: 0.558 MB / 1.509 GB, free: 7.914 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.5171, allocations: 0.8804 MB / 1.51 GB, free: 7.039 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001786/0.5189, allocations: 1.389 MB / 1.511 GB, free: 5.645 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007587/0.5196, allocations: 413.9 kB / 1.512 GB, free: 5.215 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007416/0.5204, allocations: 0.5022 MB / 1.512 GB, free: 4.711 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000702/0.5211, allocations: 0.5017 MB / 1.513 GB, free: 4.207 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001718/0.5212, allocations: 116 kB / 1.513 GB, free: 4.094 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.5223, allocations: 0.5074 MB / 1.513 GB, free: 3.586 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002946/0.5226, allocations: 303 kB / 1.514 GB, free: 3.289 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005698/0.5231, allocations: 0.5635 MB / 1.514 GB, free: 2.723 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.5257, allocations: 1.669 MB / 1.516 GB, free: 1.047 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.5257, allocations: 0 / 1.516 GB, free: 1.047 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5257, allocations: 4 kB / 1.516 GB, free: 1.043 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.116e-05/0.5257, allocations: 4 kB / 1.516 GB, free: 1.039 MB / 1.201 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.002894/0.5286, allocations: 1.411 MB / 1.517 GB, free: 15.59 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.5287, allocations: 8.031 kB / 1.517 GB, free: 15.59 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001576/0.5288, allocations: 135.2 kB / 1.517 GB, free: 15.45 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.5302, allocations: 240 kB / 1.517 GB, free: 15.21 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.5315, allocations: 0.714 MB / 1.518 GB, free: 14.47 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.408e-05/0.5316, allocations: 66 kB / 1.518 GB, free: 14.4 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.5317, allocations: 76 kB / 1.518 GB, free: 14.33 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.5333, allocations: 0.9075 MB / 1.519 GB, free: 13.38 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.5333, allocations: 3.938 kB / 1.519 GB, free: 13.38 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.233e-05/0.5334, allocations: 47.98 kB / 1.519 GB, free: 13.33 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.5334, allocations: 20 kB / 1.519 GB, free: 13.31 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.5351, allocations: 1.093 MB / 1.52 GB, free: 12.21 MB / 1.217 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.004376/0.5395, allocations: 2.781 MB / 1.523 GB, free: 9.293 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.541, allocations: 0.7474 MB / 1.524 GB, free: 8.535 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004944/0.5415, allocations: 266.7 kB / 1.524 GB, free: 8.273 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-05/0.5416, allocations: 36.61 kB / 1.524 GB, free: 8.234 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000851/0.5424, allocations: 491.8 kB / 1.524 GB, free: 7.738 MB / 1.217 GB Notification: Performance of pre-optimization done (n=78): time 2.535e-06/0.5424, allocations: 0 / 1.524 GB, free: 7.738 MB / 1.217 GB Notification: Performance of matching and sorting (n=78): time 0.003211/0.5456, allocations: 1.103 MB / 1.526 GB, free: 6.625 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.5457, allocations: 196.6 kB / 1.526 GB, free: 6.391 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009246/0.5467, allocations: 0.6567 MB / 1.526 GB, free: 5.727 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.892e-05/0.5468, allocations: 49.7 kB / 1.526 GB, free: 5.672 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003648/0.5471, allocations: 413 kB / 1.527 GB, free: 5.262 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/0.5474, allocations: 265.8 kB / 1.527 GB, free: 5 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.5476, allocations: 142.6 kB / 1.527 GB, free: 4.855 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.5478, allocations: 390.7 kB / 1.528 GB, free: 4.465 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000492/0.5483, allocations: 241.9 kB / 1.528 GB, free: 4.23 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006245/0.5489, allocations: 355.4 kB / 1.528 GB, free: 3.852 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.55, allocations: 0.5807 MB / 1.529 GB, free: 3.258 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.55, allocations: 0 / 1.529 GB, free: 3.258 MB / 1.217 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001983/0.5519, allocations: 0.7984 MB / 1.53 GB, free: 2.449 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.552, allocations: 8 kB / 1.53 GB, free: 2.441 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.552, allocations: 0 / 1.53 GB, free: 2.441 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006596/0.5526, allocations: 84.84 kB / 1.53 GB, free: 2.355 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006248/0.5533, allocations: 155.7 kB / 1.53 GB, free: 2.203 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/0.5556, allocations: 1.533 MB / 1.531 GB, free: 0.5547 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008877/0.5565, allocations: 87.59 kB / 1.531 GB, free: 480 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.3e-05/0.5566, allocations: 31.97 kB / 1.531 GB, free: 448 kB / 1.217 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.0005595/0.5571, allocations: 265.6 kB / 1.532 GB, free: 172 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.5574, allocations: 91.44 kB / 1.532 GB, free: 80 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/0.5597, allocations: 1.05 MB / 1.533 GB, free: 15 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.5597, allocations: 11.98 kB / 1.533 GB, free: 14.99 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5597, allocations: 3.938 kB / 1.533 GB, free: 14.99 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.5597, allocations: 3.984 kB / 1.533 GB, free: 14.98 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.561, allocations: 0.8715 MB / 1.534 GB, free: 14.07 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.561, allocations: 0 / 1.534 GB, free: 14.07 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005857/0.5616, allocations: 143.8 kB / 1.534 GB, free: 13.93 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004925/0.5621, allocations: 68.78 kB / 1.534 GB, free: 13.86 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.577e-05/0.5621, allocations: 23.98 kB / 1.534 GB, free: 13.84 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002268/0.5644, allocations: 1.558 MB / 1.535 GB, free: 12.16 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5644, allocations: 4.031 kB / 1.535 GB, free: 12.16 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.5665, allocations: 0.9205 MB / 1.536 GB, free: 11.22 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004639/0.567, allocations: 203.1 kB / 1.536 GB, free: 11.02 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.5671, allocations: 16 kB / 1.536 GB, free: 11 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005819/0.5677, allocations: 61.97 kB / 1.537 GB, free: 10.95 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.5679, allocations: 76.8 kB / 1.537 GB, free: 10.87 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.321e-05/0.5679, allocations: 36.03 kB / 1.537 GB, free: 10.84 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006541/0.5686, allocations: 479 kB / 1.537 GB, free: 10.37 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5686, allocations: 4 kB / 1.537 GB, free: 10.37 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008411/0.5694, allocations: 319.2 kB / 1.537 GB, free: 10.05 MB / 1.232 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.004085/0.5735, allocations: 1.976 MB / 1.539 GB, free: 8.227 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001653/0.5752, allocations: 0.7609 MB / 1.54 GB, free: 7.457 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.289e-06/0.5752, allocations: 4 kB / 1.54 GB, free: 7.453 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009188/0.5761, allocations: 492.5 kB / 1.541 GB, free: 6.957 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.5773, allocations: 299.8 kB / 1.541 GB, free: 6.688 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.5879, allocations: 6.246 MB / 1.547 GB, free: 284 kB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007326/0.5886, allocations: 1.019 MB / 1.548 GB, free: 15.23 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008525/0.5895, allocations: 266.6 kB / 1.548 GB, free: 14.96 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005688/0.59, allocations: 403.2 kB / 1.549 GB, free: 14.57 MB / 1.248 GB Notification: Performance of SimCode: time 8.82e-07/0.59, allocations: 0 / 1.549 GB, free: 14.57 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0616/0.6516, allocations: 22.4 MB / 1.57 GB, free: 8.367 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/15.2, allocations: 3.438 kB / 1.57 GB, free: 8.367 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.csv --start-time 0 --stop-time 1e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.92822055599936]