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.001534/0.001534, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001768/0.001768, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.066/3.066, allocations: 0.49 GB / 0.7959 GB, free: 33.37 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="cs",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.002799/0.002799, allocations: 65.16 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3246, allocations: 176.1 MB / 1.327 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007054/0.3316, allocations: 5.038 MB / 1.332 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1763/0.5079, allocations: 154.1 MB / 1.482 GB, free: 2.211 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008469/0.5088, allocations: 23.81 kB / 1.482 GB, free: 2.188 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008263/0.5096, allocations: 198.2 kB / 1.482 GB, free: 1.992 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002041/0.5116, allocations: 0.5629 MB / 1.483 GB, free: 1.43 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.5139, allocations: 0.8712 MB / 1.484 GB, free: 0.5625 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002003/0.5159, allocations: 1.401 MB / 1.485 GB, free: 15.15 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009239/0.5168, allocations: 409.9 kB / 1.485 GB, free: 14.73 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008827/0.5177, allocations: 0.4983 MB / 1.486 GB, free: 14.23 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008372/0.5185, allocations: 0.5057 MB / 1.486 GB, free: 13.72 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002677/0.5188, allocations: 116 kB / 1.487 GB, free: 13.61 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.5199, allocations: 0.5112 MB / 1.487 GB, free: 13.1 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003567/0.5203, allocations: 295 kB / 1.487 GB, free: 12.81 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007123/0.521, allocations: 0.5674 MB / 1.488 GB, free: 12.24 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.5234, allocations: 1.673 MB / 1.489 GB, free: 10.56 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5234, allocations: 0 / 1.489 GB, free: 10.56 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5234, allocations: 4 kB / 1.489 GB, free: 10.55 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.181e-05/0.5234, allocations: 0 / 1.489 GB, free: 10.55 MB / 1.186 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.002995/0.5264, allocations: 1.411 MB / 1.491 GB, free: 9.109 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.5265, allocations: 12.03 kB / 1.491 GB, free: 9.098 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.57e-05/0.5265, allocations: 22.19 kB / 1.491 GB, free: 9.074 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001826/0.5267, allocations: 131.3 kB / 1.491 GB, free: 8.938 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.5282, allocations: 232 kB / 1.491 GB, free: 8.711 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.5296, allocations: 0.7216 MB / 1.492 GB, free: 7.961 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.681e-05/0.5297, allocations: 62 kB / 1.492 GB, free: 7.902 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.5298, allocations: 80 kB / 1.492 GB, free: 7.824 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.5315, allocations: 0.9114 MB / 1.493 GB, free: 6.867 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.5315, allocations: 3.984 kB / 1.493 GB, free: 6.863 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-05/0.5316, allocations: 36 kB / 1.493 GB, free: 6.828 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.5316, allocations: 20 kB / 1.493 GB, free: 6.809 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/0.5335, allocations: 1.096 MB / 1.494 GB, free: 5.715 MB / 1.186 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.004346/0.5379, allocations: 2.781 MB / 1.497 GB, free: 2.797 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.5394, allocations: 0.7463 MB / 1.498 GB, free: 2.039 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000532/0.5399, allocations: 270.7 kB / 1.498 GB, free: 1.773 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-05/0.54, allocations: 32.61 kB / 1.498 GB, free: 1.742 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009594/0.5409, allocations: 485.9 kB / 1.498 GB, free: 1.25 MB / 1.186 GB Notification: Performance of pre-optimization done (n=78): time 2.916e-06/0.5409, allocations: 0 / 1.498 GB, free: 1.25 MB / 1.186 GB Notification: Performance of matching and sorting (n=78): time 0.003295/0.5442, allocations: 1.115 MB / 1.499 GB, free: 132 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.5444, allocations: 192.6 kB / 1.5 GB, free: 15.89 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009641/0.5453, allocations: 0.6645 MB / 1.5 GB, free: 15.22 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.946e-05/0.5454, allocations: 41.7 kB / 1.5 GB, free: 15.18 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003666/0.5458, allocations: 413 kB / 1.501 GB, free: 14.77 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.546, allocations: 261.8 kB / 1.501 GB, free: 14.51 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/0.5463, allocations: 146.6 kB / 1.501 GB, free: 14.36 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.5465, allocations: 386.7 kB / 1.501 GB, free: 13.97 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005214/0.547, allocations: 241.9 kB / 1.502 GB, free: 13.73 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006423/0.5476, allocations: 363.4 kB / 1.502 GB, free: 13.35 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.5488, allocations: 0.5807 MB / 1.503 GB, free: 12.76 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5488, allocations: 0 / 1.503 GB, free: 12.76 MB / 1.201 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001971/0.5507, allocations: 0.7984 MB / 1.503 GB, free: 11.95 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.5508, allocations: 4 kB / 1.503 GB, free: 11.95 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.5508, allocations: 4 kB / 1.503 GB, free: 11.95 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006136/0.5514, allocations: 88.83 kB / 1.503 GB, free: 11.86 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005982/0.552, allocations: 143.8 kB / 1.504 GB, free: 11.71 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/0.5542, allocations: 1.544 MB / 1.505 GB, free: 10.05 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007036/0.5549, allocations: 91.62 kB / 1.505 GB, free: 9.957 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-05/0.555, allocations: 31.97 kB / 1.505 GB, free: 9.926 MB / 1.201 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.0004748/0.5555, allocations: 263.8 kB / 1.505 GB, free: 9.66 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.5557, allocations: 87.44 kB / 1.506 GB, free: 9.574 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/0.5581, allocations: 1.046 MB / 1.507 GB, free: 8.508 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.5582, allocations: 15.94 kB / 1.507 GB, free: 8.492 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.5582, allocations: 3.984 kB / 1.507 GB, free: 8.488 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.5582, allocations: 3.984 kB / 1.507 GB, free: 8.484 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.5594, allocations: 0.8754 MB / 1.507 GB, free: 7.562 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.5594, allocations: 0 / 1.507 GB, free: 7.562 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005497/0.5599, allocations: 139.8 kB / 1.508 GB, free: 7.426 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004312/0.5603, allocations: 72.78 kB / 1.508 GB, free: 7.352 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.125e-05/0.5604, allocations: 23.98 kB / 1.508 GB, free: 7.328 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/0.5624, allocations: 1.551 MB / 1.509 GB, free: 5.66 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5624, allocations: 3.938 kB / 1.509 GB, free: 5.656 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.5644, allocations: 0.9205 MB / 1.51 GB, free: 4.715 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004518/0.5648, allocations: 203.1 kB / 1.51 GB, free: 4.516 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.565, allocations: 24.06 kB / 1.51 GB, free: 4.492 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006291/0.5656, allocations: 55.94 kB / 1.51 GB, free: 4.438 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.5658, allocations: 80.8 kB / 1.51 GB, free: 4.359 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.691e-05/0.5658, allocations: 31.97 kB / 1.51 GB, free: 4.328 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006743/0.5665, allocations: 487 kB / 1.511 GB, free: 3.859 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5665, allocations: 4 kB / 1.511 GB, free: 3.855 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008859/0.5674, allocations: 323.1 kB / 1.511 GB, free: 3.539 MB / 1.201 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.004307/0.5717, allocations: 1.966 MB / 1.513 GB, free: 1.727 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001754/0.5735, allocations: 0.7609 MB / 1.514 GB, free: 0.9531 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5735, allocations: 0 / 1.514 GB, free: 0.9531 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009563/0.5744, allocations: 0.4887 MB / 1.514 GB, free: 460 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.5758, allocations: 307.3 kB / 1.515 GB, free: 172 kB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.5871, allocations: 6.243 MB / 1.521 GB, free: 9.766 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007265/0.5878, allocations: 1.019 MB / 1.522 GB, free: 8.719 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008478/0.5887, allocations: 262.7 kB / 1.522 GB, free: 8.457 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006113/0.5893, allocations: 395.3 kB / 1.522 GB, free: 8.07 MB / 1.217 GB Notification: Performance of SimCode: time 9.72e-07/0.5893, allocations: 0 / 1.522 GB, free: 8.07 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0588/0.6481, allocations: 22.45 MB / 1.544 GB, free: 1.871 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.18/15.83, allocations: 4.062 kB / 1.544 GB, free: 1.867 MB / 1.232 GB " [Timeout remaining time 284] (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: 22.58923806902021]