Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001686/0.001686, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002156/0.002156, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.414/1.414, allocations: 230.6 MB / 256 MB, free: 7.957 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.117/3.117, allocations: 0.505 GB / 0.8101 GB, free: 22 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.SimpleHouse1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",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.00293/0.00293, allocations: 79.58 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3471, allocations: 180.2 MB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007471/0.3546, allocations: 5.238 MB / 1.358 GB, free: 3.168 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1755/0.5301, allocations: 154.2 MB / 1.508 GB, free: 8.422 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.5312, allocations: 27.75 kB / 1.509 GB, free: 8.395 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009634/0.5322, allocations: 206.1 kB / 1.509 GB, free: 8.191 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002322/0.5345, allocations: 0.5878 MB / 1.509 GB, free: 7.605 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002386/0.5369, allocations: 0.8841 MB / 1.51 GB, free: 6.727 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001975/0.5389, allocations: 1.44 MB / 1.512 GB, free: 5.281 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007989/0.5397, allocations: 426.2 kB / 1.512 GB, free: 4.84 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008619/0.5405, allocations: 0.5217 MB / 1.512 GB, free: 4.316 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007036/0.5412, allocations: 0.523 MB / 1.513 GB, free: 3.793 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.5414, allocations: 124 kB / 1.513 GB, free: 3.672 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.5425, allocations: 0.5074 MB / 1.514 GB, free: 3.164 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000285/0.5428, allocations: 314.9 kB / 1.514 GB, free: 2.855 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005483/0.5433, allocations: 0.5791 MB / 1.514 GB, free: 2.273 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002299/0.5456, allocations: 1.72 MB / 1.516 GB, free: 0.5469 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.5456, allocations: 8 kB / 1.516 GB, free: 0.5391 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5456, allocations: 0 / 1.516 GB, free: 0.5391 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.072e-05/0.5457, allocations: 0 / 1.516 GB, free: 0.5391 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002805/0.5485, allocations: 1.459 MB / 1.518 GB, free: 15.04 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.5485, allocations: 8.031 kB / 1.518 GB, free: 15.04 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001696/0.5487, allocations: 139.6 kB / 1.518 GB, free: 14.89 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.5501, allocations: 244 kB / 1.518 GB, free: 14.65 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.5515, allocations: 0.7219 MB / 1.519 GB, free: 13.9 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.266e-05/0.5516, allocations: 66 kB / 1.519 GB, free: 13.84 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.5517, allocations: 87.95 kB / 1.519 GB, free: 13.75 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.5533, allocations: 0.9378 MB / 1.52 GB, free: 12.77 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.5533, allocations: 3.984 kB / 1.52 GB, free: 12.77 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-05/0.5534, allocations: 36 kB / 1.52 GB, free: 12.73 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.5534, allocations: 24 kB / 1.52 GB, free: 12.71 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.5552, allocations: 1.12 MB / 1.521 GB, free: 11.59 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.004487/0.5596, allocations: 2.769 MB / 1.524 GB, free: 8.684 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.5611, allocations: 0.7737 MB / 1.524 GB, free: 7.902 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/0.5616, allocations: 282.7 kB / 1.525 GB, free: 7.621 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 7.862e-05/0.5617, allocations: 28.59 kB / 1.525 GB, free: 7.594 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000888/0.5626, allocations: 0.4893 MB / 1.525 GB, free: 7.09 MB / 1.217 GB Notification: Performance of pre-optimization done (n=82): time 2.364e-06/0.5626, allocations: 0 / 1.525 GB, free: 7.09 MB / 1.217 GB Notification: Performance of matching and sorting (n=82): time 0.003275/0.5659, allocations: 1.142 MB / 1.526 GB, free: 5.938 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.566, allocations: 192.5 kB / 1.526 GB, free: 5.707 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009744/0.567, allocations: 0.6723 MB / 1.527 GB, free: 5.027 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.299e-05/0.5671, allocations: 41.7 kB / 1.527 GB, free: 4.98 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.5674, allocations: 429 kB / 1.528 GB, free: 4.555 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.5677, allocations: 273.7 kB / 1.528 GB, free: 4.285 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.5679, allocations: 150.6 kB / 1.528 GB, free: 4.129 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.5681, allocations: 390.8 kB / 1.528 GB, free: 3.738 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004921/0.5686, allocations: 249.9 kB / 1.529 GB, free: 3.496 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/0.5692, allocations: 366.5 kB / 1.529 GB, free: 3.113 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.5703, allocations: 0.5877 MB / 1.529 GB, free: 2.512 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5703, allocations: 0 / 1.529 GB, free: 2.512 MB / 1.217 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001972/0.5722, allocations: 0.8179 MB / 1.53 GB, free: 1.688 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.5723, allocations: 16.08 kB / 1.53 GB, free: 1.672 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.5723, allocations: 0 / 1.53 GB, free: 1.672 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006067/0.5729, allocations: 76.78 kB / 1.53 GB, free: 1.594 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000647/0.5735, allocations: 167.7 kB / 1.53 GB, free: 1.43 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/0.5758, allocations: 1.526 MB / 1.532 GB, free: 15.79 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008067/0.5766, allocations: 95.47 kB / 1.532 GB, free: 15.69 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.422e-05/0.5767, allocations: 35.97 kB / 1.532 GB, free: 15.66 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (89): * Single equations (assignments): 88 * 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.0004967/0.5772, allocations: 261.7 kB / 1.532 GB, free: 15.39 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/0.5773, allocations: 91.44 kB / 1.532 GB, free: 15.3 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.5797, allocations: 1.066 MB / 1.533 GB, free: 14.22 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.5797, allocations: 16 kB / 1.534 GB, free: 14.2 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5797, allocations: 0 / 1.534 GB, free: 14.2 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.5798, allocations: 3.984 kB / 1.534 GB, free: 14.2 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.581, allocations: 0.8949 MB / 1.534 GB, free: 13.26 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.581, allocations: 0 / 1.534 GB, free: 13.26 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006161/0.5816, allocations: 147.8 kB / 1.535 GB, free: 13.12 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004774/0.5821, allocations: 84.66 kB / 1.535 GB, free: 13.03 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.52e-05/0.5822, allocations: 27.97 kB / 1.535 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.5841, allocations: 1.555 MB / 1.536 GB, free: 11.33 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5841, allocations: 0 / 1.536 GB, free: 11.33 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002768/0.5869, allocations: 1.344 MB / 1.537 GB, free: 9.961 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000526/0.5874, allocations: 203.1 kB / 1.538 GB, free: 9.762 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.5876, allocations: 27.86 kB / 1.538 GB, free: 9.734 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005953/0.5881, allocations: 71.94 kB / 1.538 GB, free: 9.664 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.5883, allocations: 72.86 kB / 1.538 GB, free: 9.594 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.401e-05/0.5884, allocations: 39.97 kB / 1.538 GB, free: 9.555 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006452/0.589, allocations: 487 kB / 1.538 GB, free: 9.082 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.589, allocations: 0 / 1.538 GB, free: 9.082 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008919/0.5899, allocations: 327.1 kB / 1.539 GB, free: 8.762 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (93): * Single equations (assignments): 87 * 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.004829/0.5947, allocations: 2.389 MB / 1.541 GB, free: 6.527 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001737/0.5965, allocations: 0.7845 MB / 1.542 GB, free: 5.73 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5965, allocations: 0 / 1.542 GB, free: 5.73 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009137/0.5974, allocations: 0.4924 MB / 1.542 GB, free: 5.223 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.5987, allocations: 307.5 kB / 1.543 GB, free: 4.945 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.6097, allocations: 6.46 MB / 1.549 GB, free: 14.33 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006787/0.6104, allocations: 1.035 MB / 1.55 GB, free: 13.26 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008874/0.6113, allocations: 270.9 kB / 1.55 GB, free: 12.99 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000596/0.6119, allocations: 403.3 kB / 1.55 GB, free: 12.6 MB / 1.248 GB Notification: Performance of SimCode: time 1.143e-06/0.6119, allocations: 0 / 1.55 GB, free: 12.6 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08645/0.6983, allocations: 22.9 MB / 1.573 GB, free: 5.895 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.36, allocations: 1.719 kB / 1.573 GB, free: 5.895 MB / 1.264 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_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_SimpleHouse1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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: 22.141297963999932]