Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001914/0.001914, allocations: 106 kB / 18.84 MB, free: 3.043 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.002395/0.002395, allocations: 189.7 kB / 22.1 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.454/1.454, allocations: 225.6 MB / 250.8 MB, free: 13.05 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.211/3.211, allocations: 495.8 MB / 0.783 GB, free: 33.49 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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1")
translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 66.89 kB / 1.137 GB, free: 33.83 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3692, allocations: 173.6 MB / 1.307 GB, free: 1.879 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007393/0.3766, allocations: 5.171 MB / 1.312 GB, free: 12.69 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.1882/0.5648, allocations: 149.6 MB / 1.458 GB, free: 6.5 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.566, allocations: 35.75 kB / 1.458 GB, free: 6.465 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0009036/0.5669, allocations: 202.2 kB / 1.458 GB, free: 6.266 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.002479/0.5693, allocations: 0.5654 MB / 1.459 GB, free: 5.703 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.5718, allocations: 0.8605 MB / 1.459 GB, free: 4.848 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.002223/0.574, allocations: 1.42 MB / 1.461 GB, free: 3.422 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0009838/0.575, allocations: 434.1 kB / 1.461 GB, free: 2.969 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.576, allocations: 0.4984 MB / 1.462 GB, free: 2.469 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0009185/0.577, allocations: 0.5212 MB / 1.462 GB, free: 1.945 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002733/0.5772, allocations: 116 kB / 1.462 GB, free: 1.832 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.5785, allocations: 475.7 kB / 1.463 GB, free: 1.367 MB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003668/0.5788, allocations: 303 kB / 1.463 GB, free: 1.07 MB / 1.154 GB
Notification: Performance of NFVerifyModel.verify: time 0.0007837/0.5796, allocations: 0.5674 MB / 1.464 GB, free: 0.5 MB / 1.154 GB
Notification: Performance of NFConvertDAE.convert: time 0.002774/0.5824, allocations: 1.669 MB / 1.465 GB, free: 14.82 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.5824, allocations: 0 / 1.465 GB, free: 14.82 MB / 1.17 GB
Notification: Performance of FrontEnd: time 9.42e-07/0.5824, allocations: 0 / 1.465 GB, free: 14.82 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 1.514e-05/0.5824, allocations: 0 / 1.465 GB, free: 14.82 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: 219
 * Number of variables: 219
Notification: Performance of Generate backend data structure: time 0.00261/0.585, allocations: 1.428 MB / 1.467 GB, free: 13.37 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.585, allocations: 12.03 kB / 1.467 GB, free: 13.36 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009338/0.586, allocations: 192 kB / 1.467 GB, free: 13.17 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.5872, allocations: 0.7104 MB / 1.468 GB, free: 12.43 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.427e-05/0.5873, allocations: 66 kB / 1.468 GB, free: 12.36 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.5874, allocations: 84 kB / 1.468 GB, free: 12.28 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.5891, allocations: 0.9379 MB / 1.469 GB, free: 11.3 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.381e-05/0.5892, allocations: 3.984 kB / 1.469 GB, free: 11.3 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.908e-05/0.5893, allocations: 36 kB / 1.469 GB, free: 11.26 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.5893, allocations: 20 kB / 1.469 GB, free: 11.24 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.5912, allocations: 1.12 MB / 1.47 GB, free: 10.12 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.004289/0.5955, allocations: 2.747 MB / 1.472 GB, free: 7.242 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.597, allocations: 0.7765 MB / 1.473 GB, free: 6.453 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005462/0.5975, allocations: 286.7 kB / 1.474 GB, free: 6.172 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 7.01e-05/0.5976, allocations: 32.59 kB / 1.474 GB, free: 6.141 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009042/0.5985, allocations: 0.4913 MB / 1.474 GB, free: 5.629 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=82): time 2.104e-06/0.5985, allocations: 0 / 1.474 GB, free: 5.629 MB / 1.17 GB
Notification: Performance of matching and sorting (n=82): time 0.003361/0.6019, allocations: 1.136 MB / 1.475 GB, free: 4.484 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.602, allocations: 196.5 kB / 1.475 GB, free: 4.25 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009018/0.6029, allocations: 0.641 MB / 1.476 GB, free: 3.598 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 8.354e-05/0.603, allocations: 45.69 kB / 1.476 GB, free: 3.547 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003829/0.6034, allocations: 421 kB / 1.476 GB, free: 3.129 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002481/0.6036, allocations: 269.7 kB / 1.477 GB, free: 2.863 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002789/0.6039, allocations: 170.6 kB / 1.477 GB, free: 2.691 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0002047/0.6041, allocations: 382.8 kB / 1.477 GB, free: 2.309 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00059/0.6047, allocations: 273.9 kB / 1.477 GB, free: 2.039 MB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000727/0.6054, allocations: 371.1 kB / 1.478 GB, free: 1.664 MB / 1.17 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.6066, allocations: 0.6151 MB / 1.478 GB, free: 1.039 MB / 1.17 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6066, allocations: 0 / 1.478 GB, free: 1.039 MB / 1.17 GB
Notification: Performance of matching and sorting (n=99) (initialization): time 0.002158/0.6088, allocations: 0.8648 MB / 1.479 GB, free: 168 kB / 1.17 GB
Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.6088, allocations: 7.938 kB / 1.479 GB, free: 160 kB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.6088, allocations: 0 / 1.479 GB, free: 160 kB / 1.17 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0005999/0.6094, allocations: 84.86 kB / 1.479 GB, free: 72 kB / 1.17 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000755/0.6102, allocations: 171.8 kB / 1.48 GB, free: 15.9 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.6124, allocations: 1.533 MB / 1.481 GB, free: 14.25 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007863/0.6132, allocations: 97.02 kB / 1.481 GB, free: 14.15 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.814e-05/0.6133, allocations: 43.97 kB / 1.481 GB, free: 14.11 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 (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.000494/0.6138, allocations: 260.2 kB / 1.481 GB, free: 13.85 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.614, allocations: 91.44 kB / 1.481 GB, free: 13.76 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/0.6166, allocations: 1.07 MB / 1.483 GB, free: 12.68 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.6166, allocations: 12 kB / 1.483 GB, free: 12.67 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.6166, allocations: 0 / 1.483 GB, free: 12.67 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.6166, allocations: 7.969 kB / 1.483 GB, free: 12.66 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.6179, allocations: 0.8716 MB / 1.483 GB, free: 11.74 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.6179, allocations: 4 kB / 1.483 GB, free: 11.74 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006483/0.6185, allocations: 151.8 kB / 1.484 GB, free: 11.59 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004713/0.619, allocations: 72.72 kB / 1.484 GB, free: 11.52 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/0.6191, allocations: 27.98 kB / 1.484 GB, free: 11.49 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.6211, allocations: 1.562 MB / 1.485 GB, free: 9.809 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.6211, allocations: 0 / 1.485 GB, free: 9.809 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002922/0.6241, allocations: 1.344 MB / 1.486 GB, free: 8.441 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004521/0.6245, allocations: 203.1 kB / 1.487 GB, free: 8.242 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.6247, allocations: 23.94 kB / 1.487 GB, free: 8.219 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006829/0.6254, allocations: 63.98 kB / 1.487 GB, free: 8.156 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/0.6255, allocations: 76.86 kB / 1.487 GB, free: 8.082 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-05/0.6256, allocations: 40.03 kB / 1.487 GB, free: 8.043 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0006724/0.6263, allocations: 463 kB / 1.487 GB, free: 7.594 MB / 1.186 GB
Notification: Performance of sort global known variables: time 1.6e-07/0.6263, allocations: 0 / 1.487 GB, free: 7.594 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.0009194/0.6272, allocations: 331.2 kB / 1.488 GB, free: 7.27 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 (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.001986/0.6292, allocations: 0.6042 MB / 1.488 GB, free: 6.84 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.001858/0.631, allocations: 0.8077 MB / 1.489 GB, free: 6.016 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.631, allocations: 0 / 1.489 GB, free: 6.016 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.001025/0.6321, allocations: 0.4925 MB / 1.489 GB, free: 5.516 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.6333, allocations: 312 kB / 1.49 GB, free: 5.234 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/0.6368, allocations: 1.813 MB / 1.492 GB, free: 3.395 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007403/0.6375, allocations: 1.027 MB / 1.493 GB, free: 2.336 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0008043/0.6383, allocations: 258.7 kB / 1.493 GB, free: 2.078 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/0.6386, allocations: 107.4 kB / 1.493 GB, free: 1.973 MB / 1.186 GB
Notification: Performance of SimCode: time 5.01e-07/0.6386, allocations: 0 / 1.493 GB, free: 1.973 MB / 1.186 GB
Notification: Performance of Templates: time 0.02905/0.6677, allocations: 15.96 MB / 1.508 GB, free: 2.184 MB / 1.201 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.915959980338812]