Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 190.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.102/3.102, allocations: 495.7 MB / 0.7831 GB, free: 33.6 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2")
translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.003203/0.003203, allocations: 67.64 kB / 1.137 GB, free: 33.86 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3399, allocations: 173.6 MB / 1.307 GB, free: 1.918 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.008446/0.3483, allocations: 5.306 MB / 1.312 GB, free: 12.59 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.1938/0.5421, allocations: 151.3 MB / 1.46 GB, free: 4.746 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.5433, allocations: 23.81 kB / 1.46 GB, free: 4.723 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.000934/0.5442, allocations: 206.2 kB / 1.46 GB, free: 4.52 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.002433/0.5466, allocations: 0.5779 MB / 1.461 GB, free: 3.941 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002432/0.5491, allocations: 0.8675 MB / 1.461 GB, free: 3.078 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.00217/0.5512, allocations: 1.463 MB / 1.463 GB, free: 1.609 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0009761/0.5522, allocations: 426.7 kB / 1.463 GB, free: 1.164 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0009249/0.5531, allocations: 0.5177 MB / 1.464 GB, free: 0.6445 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000856/0.554, allocations: 0.5251 MB / 1.464 GB, free: 120 kB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002782/0.5543, allocations: 120 kB / 1.464 GB, free: 0 / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.5554, allocations: 499.5 kB / 1.465 GB, free: 15.51 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003902/0.5558, allocations: 311 kB / 1.465 GB, free: 15.21 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0008263/0.5566, allocations: 0.583 MB / 1.466 GB, free: 14.62 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.002632/0.5592, allocations: 1.697 MB / 1.467 GB, free: 12.92 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5592, allocations: 3.938 kB / 1.467 GB, free: 12.91 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.603e-06/0.5592, allocations: 0 / 1.467 GB, free: 12.91 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 5.9e-05/0.5593, allocations: 0 / 1.467 GB, free: 12.91 MB / 1.17 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 224
 * Number of variables: 224
Notification: Performance of Generate backend data structure: time 0.003634/0.5629, allocations: 1.443 MB / 1.469 GB, free: 11.44 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.563, allocations: 15.97 kB / 1.469 GB, free: 11.43 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.5641, allocations: 200 kB / 1.469 GB, free: 11.23 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.5656, allocations: 0.7181 MB / 1.47 GB, free: 10.48 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.054e-05/0.5656, allocations: 66 kB / 1.47 GB, free: 10.41 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.5658, allocations: 88 kB / 1.47 GB, free: 10.33 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/0.5677, allocations: 0.9496 MB / 1.471 GB, free: 9.34 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/0.5677, allocations: 8 kB / 1.471 GB, free: 9.332 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-05/0.5678, allocations: 36 kB / 1.471 GB, free: 9.297 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.5678, allocations: 23.98 kB / 1.471 GB, free: 9.273 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/0.5699, allocations: 1.132 MB / 1.472 GB, free: 8.141 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.004808/0.5747, allocations: 2.816 MB / 1.475 GB, free: 5.191 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.5764, allocations: 0.7972 MB / 1.476 GB, free: 4.383 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006076/0.577, allocations: 294.7 kB / 1.476 GB, free: 4.09 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.502e-05/0.5771, allocations: 32.69 kB / 1.476 GB, free: 4.059 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.5781, allocations: 0.5061 MB / 1.476 GB, free: 3.539 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=85): time 3.206e-06/0.5781, allocations: 3.938 kB / 1.476 GB, free: 3.535 MB / 1.17 GB
Notification: Performance of matching and sorting (n=85): time 0.003543/0.5816, allocations: 1.172 MB / 1.477 GB, free: 2.352 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.5818, allocations: 200.8 kB / 1.478 GB, free: 2.113 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008945/0.5827, allocations: 0.6489 MB / 1.478 GB, free: 1.453 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 7.351e-05/0.5827, allocations: 41.7 kB / 1.478 GB, free: 1.406 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003737/0.5831, allocations: 425.1 kB / 1.479 GB, free: 0.9844 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002582/0.5834, allocations: 297.5 kB / 1.479 GB, free: 0.6914 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.5836, allocations: 162.6 kB / 1.479 GB, free: 0.5273 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0002159/0.5839, allocations: 390.8 kB / 1.48 GB, free: 140 kB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000609/0.5845, allocations: 281.9 kB / 1.48 GB, free: 15.86 MB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006876/0.5852, allocations: 375.1 kB / 1.48 GB, free: 15.48 MB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.5864, allocations: 0.632 MB / 1.481 GB, free: 14.83 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5864, allocations: 0 / 1.481 GB, free: 14.83 MB / 1.186 GB
Notification: Performance of matching and sorting (n=102) (initialization): time 0.002127/0.5885, allocations: 0.892 MB / 1.482 GB, free: 13.93 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.5885, allocations: 5.875 kB / 1.482 GB, free: 13.93 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5885, allocations: 0 / 1.482 GB, free: 13.93 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006261/0.5892, allocations: 84.86 kB / 1.482 GB, free: 13.84 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007147/0.5899, allocations: 171.8 kB / 1.482 GB, free: 13.68 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.5921, allocations: 1.534 MB / 1.483 GB, free: 12.02 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007548/0.5929, allocations: 95.47 kB / 1.484 GB, free: 11.93 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.653e-05/0.593, allocations: 40.03 kB / 1.484 GB, free: 11.89 MB / 1.186 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (100):
 * Single equations (assignments): 99
 * 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.0004829/0.5934, allocations: 272.2 kB / 1.484 GB, free: 11.62 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.5936, allocations: 87.44 kB / 1.484 GB, free: 11.53 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/0.5963, allocations: 1.094 MB / 1.485 GB, free: 10.43 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.5963, allocations: 11.94 kB / 1.485 GB, free: 10.41 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5963, allocations: 3.984 kB / 1.485 GB, free: 10.41 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.5963, allocations: 3.984 kB / 1.485 GB, free: 10.41 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.5975, allocations: 0.8987 MB / 1.486 GB, free: 9.469 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.5975, allocations: 4 kB / 1.486 GB, free: 9.465 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006696/0.5982, allocations: 159.7 kB / 1.486 GB, free: 9.309 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004754/0.5987, allocations: 76.72 kB / 1.486 GB, free: 9.23 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.001e-05/0.5987, allocations: 27.98 kB / 1.486 GB, free: 9.203 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/0.6009, allocations: 1.543 MB / 1.488 GB, free: 7.531 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6009, allocations: 0 / 1.488 GB, free: 7.531 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002961/0.6038, allocations: 1.375 MB / 1.489 GB, free: 6.141 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004984/0.6043, allocations: 207.2 kB / 1.489 GB, free: 5.938 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.6045, allocations: 31.83 kB / 1.489 GB, free: 5.906 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006759/0.6052, allocations: 63.91 kB / 1.489 GB, free: 5.844 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.6053, allocations: 76.86 kB / 1.489 GB, free: 5.766 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.149e-05/0.6054, allocations: 44.03 kB / 1.489 GB, free: 5.723 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0006495/0.6061, allocations: 467 kB / 1.49 GB, free: 5.27 MB / 1.186 GB
Notification: Performance of sort global known variables: time 1.2e-07/0.6061, allocations: 0 / 1.49 GB, free: 5.27 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.0009114/0.607, allocations: 339.2 kB / 1.49 GB, free: 4.938 MB / 1.186 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 (96):
 * Single equations (assignments): 90
 * 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.002047/0.609, allocations: 0.6013 MB / 1.491 GB, free: 4.508 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.001916/0.611, allocations: 0.8273 MB / 1.492 GB, free: 3.672 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.611, allocations: 4 kB / 1.492 GB, free: 3.668 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.001042/0.612, allocations: 0.4965 MB / 1.492 GB, free: 3.16 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.6133, allocations: 318 kB / 1.492 GB, free: 2.879 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003812/0.6171, allocations: 1.878 MB / 1.494 GB, free: 0.9648 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00086/0.618, allocations: 1.043 MB / 1.495 GB, free: 15.89 MB / 1.201 GB
Notification: Performance of simCode: alias equations: time 0.0008292/0.6188, allocations: 258.9 kB / 1.495 GB, free: 15.63 MB / 1.201 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.6191, allocations: 111.3 kB / 1.496 GB, free: 15.53 MB / 1.201 GB
Notification: Performance of SimCode: time 8.01e-07/0.6191, allocations: 0 / 1.496 GB, free: 15.53 MB / 1.201 GB
Notification: Performance of Templates: time 0.03171/0.6508, allocations: 16.14 MB / 1.511 GB, free: 15.54 MB / 1.217 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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: 9.636267795227468]