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.00128/0.00128, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001482/0.001482, allocations: 214 kB / 22.24 MB, free: 5.121 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.425/1.425, allocations: 230.6 MB / 256 MB, free: 7.816 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.088/3.088, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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.00205/0.00205, allocations: 67.31 kB / 1.153 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3187, allocations: 176.1 MB / 1.325 GB, free: 2.27 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007103/0.3258, allocations: 4.511 MB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1643/0.4901, allocations: 132.7 MB / 1.459 GB, free: 8.555 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009515/0.4911, allocations: 23.81 kB / 1.459 GB, free: 8.531 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006476/0.4917, allocations: 198.2 kB / 1.459 GB, free: 8.336 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.4937, allocations: 0.5598 MB / 1.46 GB, free: 7.777 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002007/0.4957, allocations: 0.8569 MB / 1.461 GB, free: 6.926 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001619/0.4973, allocations: 1.393 MB / 1.462 GB, free: 5.527 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00073/0.498, allocations: 390 kB / 1.462 GB, free: 5.121 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007282/0.4987, allocations: 0.5022 MB / 1.463 GB, free: 4.617 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006703/0.4994, allocations: 457.8 kB / 1.463 GB, free: 4.168 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.4996, allocations: 116 kB / 1.463 GB, free: 4.055 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000984/0.5006, allocations: 495.6 kB / 1.464 GB, free: 3.57 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003123/0.5009, allocations: 299 kB / 1.464 GB, free: 3.277 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005259/0.5014, allocations: 469.7 kB / 1.465 GB, free: 2.816 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002162/0.5036, allocations: 1.677 MB / 1.466 GB, free: 1.133 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.5036, allocations: 4 kB / 1.466 GB, free: 1.129 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5036, allocations: 0 / 1.466 GB, free: 1.129 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.58e-05/0.5036, allocations: 3.938 kB / 1.466 GB, free: 1.125 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.002709/0.5063, allocations: 1.412 MB / 1.468 GB, free: 15.68 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.5064, allocations: 8.031 kB / 1.468 GB, free: 15.67 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001658/0.5065, allocations: 135.3 kB / 1.468 GB, free: 15.53 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/0.5079, allocations: 224 kB / 1.468 GB, free: 15.31 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.5092, allocations: 0.7253 MB / 1.469 GB, free: 14.56 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.486e-05/0.5093, allocations: 58 kB / 1.469 GB, free: 14.5 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.5094, allocations: 84 kB / 1.469 GB, free: 14.42 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.5111, allocations: 1.17 MB / 1.47 GB, free: 13.14 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.5112, allocations: 4 kB / 1.47 GB, free: 13.14 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.752e-05/0.5113, allocations: 36 kB / 1.47 GB, free: 13.11 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.5113, allocations: 20 kB / 1.47 GB, free: 13.09 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.513, allocations: 1.054 MB / 1.471 GB, free: 12.03 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.004099/0.5171, allocations: 2.287 MB / 1.473 GB, free: 9.676 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.5186, allocations: 0.7312 MB / 1.474 GB, free: 8.93 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005191/0.5191, allocations: 266.7 kB / 1.474 GB, free: 8.668 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.766e-05/0.5192, allocations: 24.62 kB / 1.474 GB, free: 8.645 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009245/0.5201, allocations: 0.5815 MB / 1.475 GB, free: 8.02 MB / 1.17 GB Notification: Performance of pre-optimization done (n=78): time 2.725e-06/0.5201, allocations: 0 / 1.475 GB, free: 8.02 MB / 1.17 GB Notification: Performance of matching and sorting (n=78): time 0.003171/0.5233, allocations: 1.107 MB / 1.476 GB, free: 6.906 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.5234, allocations: 188.6 kB / 1.476 GB, free: 6.676 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008984/0.5243, allocations: 0.6684 MB / 1.477 GB, free: 6 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.991e-05/0.5244, allocations: 41.7 kB / 1.477 GB, free: 5.953 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000359/0.5247, allocations: 413 kB / 1.477 GB, free: 5.543 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/0.525, allocations: 261.8 kB / 1.477 GB, free: 5.285 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.5252, allocations: 146.6 kB / 1.478 GB, free: 5.137 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.5254, allocations: 390.8 kB / 1.478 GB, free: 4.746 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005139/0.5259, allocations: 249.8 kB / 1.478 GB, free: 4.5 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000675/0.5266, allocations: 487.9 kB / 1.479 GB, free: 3.965 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.5277, allocations: 0.5807 MB / 1.479 GB, free: 3.371 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.5277, allocations: 0 / 1.479 GB, free: 3.371 MB / 1.17 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001927/0.5296, allocations: 0.7984 MB / 1.48 GB, free: 2.562 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.5296, allocations: 4 kB / 1.48 GB, free: 2.559 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.5297, allocations: 7.938 kB / 1.48 GB, free: 2.551 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005879/0.5302, allocations: 80.91 kB / 1.48 GB, free: 2.469 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000613/0.5309, allocations: 143.8 kB / 1.48 GB, free: 2.328 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.533, allocations: 1.527 MB / 1.482 GB, free: 0.6758 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007158/0.5337, allocations: 83.53 kB / 1.482 GB, free: 0.5938 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-05/0.5338, allocations: 36.05 kB / 1.482 GB, free: 0.5586 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.000462/0.5343, allocations: 270.1 kB / 1.482 GB, free: 292 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.5345, allocations: 87.44 kB / 1.482 GB, free: 204 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002357/0.5368, allocations: 1.047 MB / 1.483 GB, free: 15.14 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.5368, allocations: 15.92 kB / 1.483 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5368, allocations: 4 kB / 1.483 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.5368, allocations: 3.984 kB / 1.483 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.5379, allocations: 0.739 MB / 1.484 GB, free: 14.34 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5379, allocations: 0 / 1.484 GB, free: 14.34 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005705/0.5385, allocations: 139.8 kB / 1.484 GB, free: 14.2 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004486/0.5389, allocations: 76.78 kB / 1.484 GB, free: 14.12 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.205e-05/0.539, allocations: 23.98 kB / 1.484 GB, free: 14.1 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.5409, allocations: 1.551 MB / 1.486 GB, free: 12.43 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5409, allocations: 4.031 kB / 1.486 GB, free: 12.43 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/0.543, allocations: 0.9167 MB / 1.487 GB, free: 11.48 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004984/0.5435, allocations: 214.9 kB / 1.487 GB, free: 11.27 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.5436, allocations: 19.98 kB / 1.487 GB, free: 11.25 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005999/0.5442, allocations: 68 kB / 1.487 GB, free: 11.19 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.5444, allocations: 76.8 kB / 1.487 GB, free: 11.11 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.681e-05/0.5444, allocations: 31.98 kB / 1.487 GB, free: 11.08 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006379/0.5451, allocations: 483 kB / 1.487 GB, free: 10.61 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5451, allocations: 0 / 1.487 GB, free: 10.61 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008606/0.5459, allocations: 327.1 kB / 1.488 GB, free: 10.29 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.004243/0.5502, allocations: 1.988 MB / 1.49 GB, free: 8.492 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001762/0.5519, allocations: 0.7648 MB / 1.49 GB, free: 7.711 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5519, allocations: 3.938 kB / 1.49 GB, free: 7.707 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009365/0.5529, allocations: 492.5 kB / 1.491 GB, free: 7.215 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.5541, allocations: 305.8 kB / 1.491 GB, free: 6.938 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.5651, allocations: 6.246 MB / 1.497 GB, free: 0.5312 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/0.5656, allocations: 440 kB / 1.498 GB, free: 64 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009963/0.5666, allocations: 258.8 kB / 1.498 GB, free: 15.8 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006402/0.5673, allocations: 399.2 kB / 1.498 GB, free: 15.41 MB / 1.201 GB Notification: Performance of SimCode: time 1.042e-06/0.5673, allocations: 0 / 1.498 GB, free: 15.41 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06788/0.6351, allocations: 23.41 MB / 1.521 GB, free: 8.312 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/14.85, allocations: 3.875 kB / 1.521 GB, free: 8.312 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.csv --start-time 0 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 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.csv","/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.56528186192736]