Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.001239/0.001239, 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.001386/0.001386, allocations: 191.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.433/1.433, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.149/3.149, allocations: 496 MB / 0.7835 GB, free: 33.46 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3")
translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 70.47 kB / 1.138 GB, free: 33.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4184, allocations: 173.6 MB / 1.307 GB, free: 1.773 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2276/0.6461, allocations: 166.8 MB / 1.47 GB, free: 10.32 MB / 1.17 GB
Notification: Performance of NFInst.instExpressions: time 0.01655/0.6626, allocations: 7.972 MB / 1.478 GB, free: 2.328 MB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002198/0.6648, allocations: 43.69 kB / 1.478 GB, free: 2.285 MB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.001938/0.6668, allocations: 413 kB / 1.478 GB, free: 1.879 MB / 1.17 GB
Notification: Performance of NFTyping.typeBindings: time 0.005736/0.6725, allocations: 1.367 MB / 1.48 GB, free: 0.5078 MB / 1.17 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00398/0.6765, allocations: 1.226 MB / 1.481 GB, free: 15.29 MB / 1.186 GB
Notification: Performance of NFFlatten.flatten: time 0.004553/0.681, allocations: 2.391 MB / 1.483 GB, free: 12.89 MB / 1.186 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001994/0.683, allocations: 0.9721 MB / 1.484 GB, free: 11.89 MB / 1.186 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001779/0.6848, allocations: 0.8797 MB / 1.485 GB, free: 11.01 MB / 1.186 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001897/0.6867, allocations: 0.8169 MB / 1.486 GB, free: 10.2 MB / 1.186 GB
Notification: Performance of NFPackage.collectConstants: time 0.0003005/0.687, allocations: 152 kB / 1.486 GB, free: 10.05 MB / 1.186 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002916/0.6899, allocations: 1.174 MB / 1.487 GB, free: 8.871 MB / 1.186 GB
Notification: Performance of NFScalarize.scalarize: time 0.0005503/0.6905, allocations: 442.6 kB / 1.488 GB, free: 8.438 MB / 1.186 GB
Notification: Performance of NFVerifyModel.verify: time 0.001033/0.6915, allocations: 0.7812 MB / 1.488 GB, free: 7.652 MB / 1.186 GB
Notification: Performance of NFConvertDAE.convert: time 0.004733/0.6962, allocations: 2.413 MB / 1.491 GB, free: 5.23 MB / 1.186 GB
Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.6962, allocations: 4 kB / 1.491 GB, free: 5.227 MB / 1.186 GB
Notification: Performance of FrontEnd: time 9.21e-07/0.6962, allocations: 0 / 1.491 GB, free: 5.227 MB / 1.186 GB
Notification: Performance of Transformations before backend: time 2.828e-05/0.6963, allocations: 7.938 kB / 1.491 GB, free: 5.219 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: 279
 * Number of variables: 279
Notification: Performance of Generate backend data structure: time 0.004224/0.7005, allocations: 1.848 MB / 1.493 GB, free: 3.328 MB / 1.186 GB
Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.7005, allocations: 8.922 kB / 1.493 GB, free: 3.32 MB / 1.186 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002084/0.7026, allocations: 338.7 kB / 1.493 GB, free: 2.988 MB / 1.186 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001996/0.7046, allocations: 0.9395 MB / 1.494 GB, free: 2.012 MB / 1.186 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.445e-05/0.7047, allocations: 86.19 kB / 1.494 GB, free: 1.926 MB / 1.186 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.7049, allocations: 116 kB / 1.494 GB, free: 1.812 MB / 1.186 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002322/0.7072, allocations: 1.172 MB / 1.495 GB, free: 0.5703 MB / 1.186 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.7072, allocations: 0 / 1.495 GB, free: 0.5703 MB / 1.186 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.7074, allocations: 48 kB / 1.495 GB, free: 0.5234 MB / 1.186 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.94e-05/0.7074, allocations: 49.98 kB / 1.495 GB, free: 484 kB / 1.186 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/0.7097, allocations: 1.3 MB / 1.496 GB, free: 15.16 MB / 1.201 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.006738/0.7165, allocations: 3.814 MB / 1.5 GB, free: 11.13 MB / 1.201 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.7184, allocations: 0.95 MB / 1.501 GB, free: 10.18 MB / 1.201 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007124/0.7191, allocations: 359.7 kB / 1.501 GB, free: 9.82 MB / 1.201 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.16e-05/0.7192, allocations: 37.03 kB / 1.502 GB, free: 9.781 MB / 1.201 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/0.7203, allocations: 0.5904 MB / 1.502 GB, free: 9.176 MB / 1.201 GB
Notification: Performance of pre-optimization done (n=102): time 3.056e-06/0.7203, allocations: 0 / 1.502 GB, free: 9.176 MB / 1.201 GB
Notification: Performance of matching and sorting (n=102): time 0.004006/0.7244, allocations: 1.372 MB / 1.503 GB, free: 7.793 MB / 1.201 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.7245, allocations: 188.9 kB / 1.504 GB, free: 7.566 MB / 1.201 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.7258, allocations: 0.8453 MB / 1.504 GB, free: 6.695 MB / 1.201 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.7259, allocations: 49.7 kB / 1.504 GB, free: 6.641 MB / 1.201 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0005707/0.7265, allocations: 0.5285 MB / 1.505 GB, free: 6.105 MB / 1.201 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0003777/0.7269, allocations: 353 kB / 1.505 GB, free: 5.758 MB / 1.201 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003345/0.7272, allocations: 206.5 kB / 1.506 GB, free: 5.551 MB / 1.201 GB
Notification: Performance of setup shared object (initialization): time 0.0001769/0.7274, allocations: 349.9 kB / 1.506 GB, free: 5.203 MB / 1.201 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006801/0.7281, allocations: 333.8 kB / 1.506 GB, free: 4.875 MB / 1.201 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008262/0.7289, allocations: 476.2 kB / 1.507 GB, free: 4.379 MB / 1.201 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.7304, allocations: 0.801 MB / 1.507 GB, free: 3.551 MB / 1.201 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.7304, allocations: 0 / 1.507 GB, free: 3.551 MB / 1.201 GB
Notification: Performance of matching and sorting (n=126) (initialization): time 0.002626/0.733, allocations: 1.087 MB / 1.508 GB, free: 2.453 MB / 1.201 GB
Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.7331, allocations: 4 kB / 1.508 GB, free: 2.449 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.7331, allocations: 4 kB / 1.508 GB, free: 2.445 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006446/0.7337, allocations: 80.8 kB / 1.509 GB, free: 2.363 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008941/0.7346, allocations: 215.8 kB / 1.509 GB, free: 2.152 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/0.737, allocations: 1.535 MB / 1.51 GB, free: 0.5 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.7382, allocations: 115.3 kB / 1.51 GB, free: 396 kB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.898e-05/0.7383, allocations: 39.98 kB / 1.51 GB, free: 356 kB / 1.201 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 10
 * 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 (124):
 * Single equations (assignments): 123
 * 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.0007036/0.739, allocations: 328.7 kB / 1.511 GB, free: 20 kB / 1.201 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002746/0.7393, allocations: 119.3 kB / 1.511 GB, free: 15.9 MB / 1.217 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002807/0.7421, allocations: 1.24 MB / 1.512 GB, free: 14.64 MB / 1.217 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.7421, allocations: 12 kB / 1.512 GB, free: 14.63 MB / 1.217 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.7421, allocations: 0 / 1.512 GB, free: 14.63 MB / 1.217 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.7421, allocations: 7.969 kB / 1.512 GB, free: 14.62 MB / 1.217 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.7438, allocations: 1.137 MB / 1.513 GB, free: 13.44 MB / 1.217 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.7439, allocations: 0 / 1.513 GB, free: 13.44 MB / 1.217 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008846/0.7447, allocations: 203.7 kB / 1.513 GB, free: 13.24 MB / 1.217 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000472/0.7452, allocations: 80.72 kB / 1.513 GB, free: 13.16 MB / 1.217 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.202e-05/0.7453, allocations: 31.98 kB / 1.513 GB, free: 13.13 MB / 1.217 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.7474, allocations: 1.556 MB / 1.515 GB, free: 11.46 MB / 1.217 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.7474, allocations: 3.938 kB / 1.515 GB, free: 11.45 MB / 1.217 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003354/0.7507, allocations: 1.575 MB / 1.517 GB, free: 9.855 MB / 1.217 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0007618/0.7515, allocations: 250.8 kB / 1.517 GB, free: 9.609 MB / 1.217 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.7517, allocations: 31.98 kB / 1.517 GB, free: 9.578 MB / 1.217 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008363/0.7525, allocations: 64.78 kB / 1.517 GB, free: 9.516 MB / 1.217 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/0.7527, allocations: 84.83 kB / 1.517 GB, free: 9.434 MB / 1.217 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.548e-05/0.7528, allocations: 47.91 kB / 1.517 GB, free: 9.387 MB / 1.217 GB
Notification: Performance of sorting global known variables: time 0.0009572/0.7537, allocations: 0.578 MB / 1.518 GB, free: 8.797 MB / 1.217 GB
Notification: Performance of sort global known variables: time 1.21e-07/0.7537, allocations: 4 kB / 1.518 GB, free: 8.793 MB / 1.217 GB
Notification: Performance of remove unused functions: time 0.001241/0.755, allocations: 435 kB / 1.518 GB, free: 8.367 MB / 1.217 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m)
 * 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 (113):
 * Single equations (assignments): 107
 * 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.002076/0.7571, allocations: 0.6293 MB / 1.519 GB, free: 7.914 MB / 1.217 GB
Notification: Performance of simCode: created initialization part: time 0.002246/0.7593, allocations: 0.9566 MB / 1.52 GB, free: 6.945 MB / 1.217 GB
Notification: Performance of simCode: created event and clocks part: time 8.727e-06/0.7593, allocations: 4 kB / 1.52 GB, free: 6.941 MB / 1.217 GB
Notification: Performance of simCode: created simulation system equations: time 0.001097/0.7604, allocations: 0.5743 MB / 1.52 GB, free: 6.355 MB / 1.217 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/0.7626, allocations: 0.4953 MB / 1.521 GB, free: 5.883 MB / 1.217 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004789/0.7674, allocations: 2.477 MB / 1.523 GB, free: 3.371 MB / 1.217 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008823/0.7683, allocations: 1.15 MB / 1.524 GB, free: 2.195 MB / 1.217 GB
Notification: Performance of simCode: alias equations: time 0.001181/0.7695, allocations: 321.2 kB / 1.524 GB, free: 1.879 MB / 1.217 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003587/0.7699, allocations: 127.4 kB / 1.525 GB, free: 1.754 MB / 1.217 GB
Notification: Performance of SimCode: time 1.132e-06/0.7699, allocations: 0 / 1.525 GB, free: 1.754 MB / 1.217 GB
Notification: Performance of Templates: time 0.04126/0.8111, allocations: 21.77 MB / 1.546 GB, free: 12.23 MB / 1.248 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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: 10.211235921829939]