Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.00191/0.00191, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002278/0.002278, allocations: 191.5 kB / 22.23 MB, free: 5.098 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.447/1.447, allocations: 225.6 MB / 251 MB, free: 13.2 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.747/2.747, allocations: 476.7 MB / 0.7646 GB, free: 9.879 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1")
translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 68.12 kB / 1.11 GB, free: 6.34 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7729/0.7748, allocations: 168.8 MB / 1.274 GB, free: 4.234 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007669/0.7825, allocations: 5.171 MB / 1.279 GB, free: 15.04 MB / 0.9825 GB
Notification: Performance of NFInst.instExpressions: time 0.1832/0.9657, allocations: 151.2 MB / 1.427 GB, free: 7.223 MB / 1.123 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0007637/0.9664, allocations: 23.81 kB / 1.427 GB, free: 7.199 MB / 1.123 GB
Notification: Performance of NFTyping.typeComponents: time 0.0005693/0.967, allocations: 206.2 kB / 1.427 GB, free: 6.996 MB / 1.123 GB
Notification: Performance of NFTyping.typeBindings: time 0.001644/0.9686, allocations: 0.5634 MB / 1.428 GB, free: 6.434 MB / 1.123 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.9706, allocations: 0.8723 MB / 1.429 GB, free: 5.566 MB / 1.123 GB
Notification: Performance of NFFlatten.flatten: time 0.001497/0.9721, allocations: 1.424 MB / 1.43 GB, free: 4.137 MB / 1.123 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.00078/0.9729, allocations: 430.2 kB / 1.43 GB, free: 3.691 MB / 1.123 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007279/0.9736, allocations: 0.4984 MB / 1.431 GB, free: 3.191 MB / 1.123 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000679/0.9743, allocations: 0.5172 MB / 1.431 GB, free: 2.672 MB / 1.123 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.9745, allocations: 116 kB / 1.432 GB, free: 2.559 MB / 1.123 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0009786/0.9755, allocations: 495.6 kB / 1.432 GB, free: 2.074 MB / 1.123 GB
Notification: Performance of NFScalarize.scalarize: time 0.000315/0.9758, allocations: 311 kB / 1.432 GB, free: 1.77 MB / 1.123 GB
Notification: Performance of NFVerifyModel.verify: time 0.0005964/0.9764, allocations: 0.5713 MB / 1.433 GB, free: 1.195 MB / 1.123 GB
Notification: Performance of NFConvertDAE.convert: time 0.002011/0.9784, allocations: 1.665 MB / 1.435 GB, free: 15.53 MB / 1.139 GB
Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.9784, allocations: 4 kB / 1.435 GB, free: 15.52 MB / 1.139 GB
Notification: Performance of FrontEnd: time 1.473e-06/0.9784, allocations: 0 / 1.435 GB, free: 15.52 MB / 1.139 GB
Notification: Performance of Transformations before backend: time 1.614e-05/0.9784, allocations: 0 / 1.435 GB, free: 15.52 MB / 1.139 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.002653/0.9811, allocations: 1.42 MB / 1.436 GB, free: 14.07 MB / 1.139 GB
Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.9811, allocations: 8.031 kB / 1.436 GB, free: 14.06 MB / 1.139 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009555/0.982, allocations: 204 kB / 1.436 GB, free: 13.86 MB / 1.139 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.9833, allocations: 0.7103 MB / 1.437 GB, free: 13.12 MB / 1.139 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.387e-05/0.9834, allocations: 69.98 kB / 1.437 GB, free: 13.05 MB / 1.139 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.9835, allocations: 84 kB / 1.437 GB, free: 12.97 MB / 1.139 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.9854, allocations: 0.9301 MB / 1.438 GB, free: 12 MB / 1.139 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.9855, allocations: 3.938 kB / 1.438 GB, free: 12 MB / 1.139 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.028e-05/0.9856, allocations: 39.98 kB / 1.438 GB, free: 11.96 MB / 1.139 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.9856, allocations: 28 kB / 1.438 GB, free: 11.93 MB / 1.139 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.9875, allocations: 1.116 MB / 1.439 GB, free: 10.82 MB / 1.139 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.004284/0.9917, allocations: 2.692 MB / 1.442 GB, free: 8.012 MB / 1.139 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.9933, allocations: 0.761 MB / 1.442 GB, free: 7.246 MB / 1.139 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005691/0.9939, allocations: 282.7 kB / 1.443 GB, free: 6.961 MB / 1.139 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.061e-05/0.994, allocations: 28.61 kB / 1.443 GB, free: 6.934 MB / 1.139 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009359/0.9949, allocations: 0.4913 MB / 1.443 GB, free: 6.426 MB / 1.139 GB
Notification: Performance of pre-optimization done (n=82): time 2.495e-06/0.9949, allocations: 0 / 1.443 GB, free: 6.426 MB / 1.139 GB
Notification: Performance of matching and sorting (n=82): time 0.003387/0.9983, allocations: 1.132 MB / 1.444 GB, free: 5.285 MB / 1.139 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.9984, allocations: 200.5 kB / 1.444 GB, free: 5.047 MB / 1.139 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008554/0.9993, allocations: 0.6411 MB / 1.445 GB, free: 4.395 MB / 1.139 GB
Notification: Performance of collectPreVariables (initialization): time 7.036e-05/0.9993, allocations: 45.7 kB / 1.445 GB, free: 4.344 MB / 1.139 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003738/0.9997, allocations: 413 kB / 1.446 GB, free: 3.934 MB / 1.139 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002392/1, allocations: 281.6 kB / 1.446 GB, free: 3.656 MB / 1.139 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002769/1, allocations: 166.6 kB / 1.446 GB, free: 3.484 MB / 1.139 GB
Notification: Performance of setup shared object (initialization): time 0.0002225/1, allocations: 386.8 kB / 1.446 GB, free: 3.098 MB / 1.139 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005587/1.001, allocations: 269.8 kB / 1.447 GB, free: 2.836 MB / 1.139 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006773/1.002, allocations: 371.1 kB / 1.447 GB, free: 2.461 MB / 1.139 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/1.003, allocations: 0.6112 MB / 1.448 GB, free: 1.836 MB / 1.139 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/1.003, allocations: 4 kB / 1.448 GB, free: 1.832 MB / 1.139 GB
Notification: Performance of matching and sorting (n=99) (initialization): time 0.002017/1.005, allocations: 0.8647 MB / 1.448 GB, free: 0.957 MB / 1.139 GB
Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.005, allocations: 13.66 kB / 1.448 GB, free: 0.9453 MB / 1.139 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/1.005, allocations: 0 / 1.448 GB, free: 0.9453 MB / 1.139 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006207/1.006, allocations: 84.86 kB / 1.448 GB, free: 0.8594 MB / 1.139 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000689/1.006, allocations: 171.8 kB / 1.449 GB, free: 0.6914 MB / 1.139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/1.009, allocations: 1.537 MB / 1.45 GB, free: 15.04 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000724/1.009, allocations: 95.44 kB / 1.45 GB, free: 14.94 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.219e-05/1.009, allocations: 31.98 kB / 1.45 GB, free: 14.91 MB / 1.154 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 (97):
 * Single equations (assignments): 96
 * 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.0004333/1.01, allocations: 274.1 kB / 1.451 GB, free: 14.63 MB / 1.154 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/1.01, allocations: 91.42 kB / 1.451 GB, free: 14.54 MB / 1.154 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002531/1.012, allocations: 1.07 MB / 1.452 GB, free: 13.46 MB / 1.154 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/1.012, allocations: 15.94 kB / 1.452 GB, free: 13.45 MB / 1.154 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/1.012, allocations: 0 / 1.452 GB, free: 13.45 MB / 1.154 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/1.013, allocations: 3.984 kB / 1.452 GB, free: 13.44 MB / 1.154 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/1.014, allocations: 0.8715 MB / 1.453 GB, free: 12.53 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.014, allocations: 0 / 1.453 GB, free: 12.53 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006425/1.014, allocations: 159.8 kB / 1.453 GB, free: 12.37 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004601/1.015, allocations: 76.67 kB / 1.453 GB, free: 12.29 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.815e-05/1.015, allocations: 27.97 kB / 1.453 GB, free: 12.27 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001992/1.017, allocations: 1.559 MB / 1.454 GB, free: 10.59 MB / 1.154 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/1.017, allocations: 0 / 1.454 GB, free: 10.59 MB / 1.154 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002807/1.02, allocations: 1.344 MB / 1.456 GB, free: 9.219 MB / 1.154 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004246/1.02, allocations: 195.1 kB / 1.456 GB, free: 9.027 MB / 1.154 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/1.02, allocations: 27.94 kB / 1.456 GB, free: 9 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006563/1.021, allocations: 63.98 kB / 1.456 GB, free: 8.938 MB / 1.154 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/1.021, allocations: 72.86 kB / 1.456 GB, free: 8.867 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-05/1.021, allocations: 35.98 kB / 1.456 GB, free: 8.832 MB / 1.154 GB
Notification: Performance of sorting global known variables: time 0.0005997/1.022, allocations: 463 kB / 1.456 GB, free: 8.383 MB / 1.154 GB
Notification: Performance of sort global known variables: time 8.1e-08/1.022, allocations: 0 / 1.456 GB, free: 8.383 MB / 1.154 GB
Notification: Performance of remove unused functions: time 0.0008419/1.022, allocations: 339.1 kB / 1.457 GB, free: 8.051 MB / 1.154 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.001943/1.024, allocations: 0.607 MB / 1.457 GB, free: 7.621 MB / 1.154 GB
Notification: Performance of simCode: created initialization part: time 0.001781/1.026, allocations: 0.8157 MB / 1.458 GB, free: 6.789 MB / 1.154 GB
Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.026, allocations: 4 kB / 1.458 GB, free: 6.785 MB / 1.154 GB
Notification: Performance of simCode: created simulation system equations: time 0.0009698/1.027, allocations: 492.2 kB / 1.459 GB, free: 6.293 MB / 1.154 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/1.028, allocations: 299.3 kB / 1.459 GB, free: 6.023 MB / 1.154 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/1.032, allocations: 1.807 MB / 1.461 GB, free: 4.188 MB / 1.154 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006887/1.032, allocations: 1.035 MB / 1.462 GB, free: 3.121 MB / 1.154 GB
Notification: Performance of simCode: alias equations: time 0.0007891/1.033, allocations: 262.7 kB / 1.462 GB, free: 2.859 MB / 1.154 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/1.034, allocations: 107.4 kB / 1.462 GB, free: 2.754 MB / 1.154 GB
Notification: Performance of SimCode: time 5.91e-07/1.034, allocations: 0 / 1.462 GB, free: 2.754 MB / 1.154 GB
Notification: Performance of Templates: time 0.02775/1.061, allocations: 15.95 MB / 1.478 GB, free: 2.977 MB / 1.17 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.509245418943465]