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.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.001796/0.001796, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002108/0.002108, allocations: 188.6 kB / 22.1 MB, free: 4.34 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.491/1.491, allocations: 225.6 MB / 250.8 MB, free: 2.902 MB / 190.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 2.905/2.905, allocations: 495.8 MB / 0.7831 GB, free: 12.27 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.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0")
translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 59.89 kB / 1.137 GB, free: 10.19 MB / 0.8731 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9106/0.9127, allocations: 173.6 MB / 1.307 GB, free: 0.9102 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007682/0.9203, allocations: 4.986 MB / 1.312 GB, free: 13.38 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.2052/1.125, allocations: 149.6 MB / 1.458 GB, free: 10.88 MB / 1.139 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/1.127, allocations: 23.81 kB / 1.458 GB, free: 10.85 MB / 1.139 GB
Notification: Performance of NFTyping.typeComponents: time 0.001032/1.128, allocations: 190.2 kB / 1.458 GB, free: 10.66 MB / 1.139 GB
Notification: Performance of NFTyping.typeBindings: time 0.003044/1.131, allocations: 0.559 MB / 1.458 GB, free: 10.11 MB / 1.139 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002962/1.134, allocations: 0.8419 MB / 1.459 GB, free: 9.27 MB / 1.139 GB
Notification: Performance of NFFlatten.flatten: time 0.002369/1.136, allocations: 1.373 MB / 1.461 GB, free: 7.891 MB / 1.139 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001003/1.137, allocations: 409.9 kB / 1.461 GB, free: 7.465 MB / 1.139 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0009588/1.138, allocations: 0.4944 MB / 1.461 GB, free: 6.969 MB / 1.139 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000812/1.139, allocations: 0.4939 MB / 1.462 GB, free: 6.473 MB / 1.139 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001736/1.139, allocations: 116 kB / 1.462 GB, free: 6.359 MB / 1.139 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001064/1.14, allocations: 467.7 kB / 1.462 GB, free: 5.902 MB / 1.139 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003176/1.141, allocations: 303 kB / 1.463 GB, free: 5.605 MB / 1.139 GB
Notification: Performance of NFVerifyModel.verify: time 0.0006076/1.141, allocations: 0.548 MB / 1.463 GB, free: 5.055 MB / 1.139 GB
Notification: Performance of NFConvertDAE.convert: time 0.00247/1.144, allocations: 1.611 MB / 1.465 GB, free: 3.441 MB / 1.139 GB
Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/1.144, allocations: 0 / 1.465 GB, free: 3.441 MB / 1.139 GB
Notification: Performance of FrontEnd: time 1.623e-06/1.144, allocations: 0 / 1.465 GB, free: 3.441 MB / 1.139 GB
Notification: Performance of Transformations before backend: time 1.924e-05/1.144, allocations: 7.938 kB / 1.465 GB, free: 3.434 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: 209
 * Number of variables: 209
Notification: Performance of Generate backend data structure: time 0.002673/1.146, allocations: 1.384 MB / 1.466 GB, free: 2.016 MB / 1.139 GB
Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/1.146, allocations: 8.031 kB / 1.466 GB, free: 2.008 MB / 1.139 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009556/1.147, allocations: 192.1 kB / 1.466 GB, free: 1.82 MB / 1.139 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/1.149, allocations: 0.694 MB / 1.467 GB, free: 1.098 MB / 1.139 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.826e-05/1.149, allocations: 69.98 kB / 1.467 GB, free: 1.031 MB / 1.139 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/1.149, allocations: 79.98 kB / 1.467 GB, free: 0.9531 MB / 1.139 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/1.151, allocations: 0.9075 MB / 1.468 GB, free: 0 / 1.139 GB
Notification: Performance of preOpt findStateOrder (simulation): time 4.483e-05/1.151, allocations: 4.047 kB / 1.468 GB, free: 15.99 MB / 1.154 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/1.151, allocations: 39.94 kB / 1.468 GB, free: 15.95 MB / 1.154 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/1.151, allocations: 20 kB / 1.468 GB, free: 15.93 MB / 1.154 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/1.153, allocations: 1.096 MB / 1.469 GB, free: 14.84 MB / 1.154 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.005145/1.158, allocations: 2.754 MB / 1.472 GB, free: 11.95 MB / 1.154 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001607/1.159, allocations: 0.7542 MB / 1.473 GB, free: 11.19 MB / 1.154 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005194/1.16, allocations: 270.6 kB / 1.473 GB, free: 10.92 MB / 1.154 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/1.16, allocations: 32.61 kB / 1.473 GB, free: 10.89 MB / 1.154 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009/1.161, allocations: 483.7 kB / 1.473 GB, free: 10.4 MB / 1.154 GB
Notification: Performance of pre-optimization done (n=78): time 3.627e-06/1.161, allocations: 7.938 kB / 1.473 GB, free: 10.39 MB / 1.154 GB
Notification: Performance of matching and sorting (n=78): time 0.003351/1.164, allocations: 1.096 MB / 1.475 GB, free: 9.289 MB / 1.154 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/1.165, allocations: 196.6 kB / 1.475 GB, free: 9.051 MB / 1.154 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009218/1.165, allocations: 0.6332 MB / 1.475 GB, free: 8.41 MB / 1.154 GB
Notification: Performance of collectPreVariables (initialization): time 8.744e-05/1.166, allocations: 41.7 kB / 1.475 GB, free: 8.363 MB / 1.154 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003848/1.166, allocations: 401 kB / 1.476 GB, free: 7.965 MB / 1.154 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002541/1.166, allocations: 269.7 kB / 1.476 GB, free: 7.699 MB / 1.154 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/1.166, allocations: 166.5 kB / 1.476 GB, free: 7.531 MB / 1.154 GB
Notification: Performance of setup shared object (initialization): time 0.0002299/1.167, allocations: 390.7 kB / 1.477 GB, free: 7.141 MB / 1.154 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005494/1.167, allocations: 265.9 kB / 1.477 GB, free: 6.879 MB / 1.154 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000691/1.168, allocations: 360 kB / 1.477 GB, free: 6.512 MB / 1.154 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/1.169, allocations: 0.6003 MB / 1.478 GB, free: 5.898 MB / 1.154 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/1.169, allocations: 3.938 kB / 1.478 GB, free: 5.895 MB / 1.154 GB
Notification: Performance of matching and sorting (n=95) (initialization): time 0.002114/1.171, allocations: 0.8492 MB / 1.479 GB, free: 5.035 MB / 1.154 GB
Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/1.171, allocations: 4 kB / 1.479 GB, free: 5.031 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.171, allocations: 4 kB / 1.479 GB, free: 5.027 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006566/1.172, allocations: 88.83 kB / 1.479 GB, free: 4.938 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006686/1.173, allocations: 155.7 kB / 1.479 GB, free: 4.785 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002409/1.175, allocations: 1.527 MB / 1.48 GB, free: 3.133 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007951/1.176, allocations: 93.72 kB / 1.48 GB, free: 3.043 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.512e-05/1.176, allocations: 40.03 kB / 1.48 GB, free: 3.004 MB / 1.154 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * 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 (93):
 * Single equations (assignments): 92
 * 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.000493/1.176, allocations: 263.4 kB / 1.481 GB, free: 2.738 MB / 1.154 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/1.177, allocations: 95.42 kB / 1.481 GB, free: 2.645 MB / 1.154 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002539/1.179, allocations: 1.042 MB / 1.482 GB, free: 1.586 MB / 1.154 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/1.179, allocations: 12 kB / 1.482 GB, free: 1.574 MB / 1.154 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.179, allocations: 3.938 kB / 1.482 GB, free: 1.57 MB / 1.154 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/1.179, allocations: 7.984 kB / 1.482 GB, free: 1.562 MB / 1.154 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/1.18, allocations: 0.852 MB / 1.483 GB, free: 0.6641 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/1.18, allocations: 0 / 1.483 GB, free: 0.6641 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005934/1.181, allocations: 139.8 kB / 1.483 GB, free: 0.5273 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004741/1.181, allocations: 72.73 kB / 1.483 GB, free: 464 kB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.089e-05/1.181, allocations: 27.97 kB / 1.483 GB, free: 436 kB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/1.184, allocations: 1.562 MB / 1.484 GB, free: 14.74 MB / 1.17 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.184, allocations: 4.031 kB / 1.484 GB, free: 14.74 MB / 1.17 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/1.186, allocations: 0.9165 MB / 1.485 GB, free: 13.8 MB / 1.17 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004922/1.186, allocations: 195.1 kB / 1.485 GB, free: 13.61 MB / 1.17 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/1.186, allocations: 20 kB / 1.485 GB, free: 13.59 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008127/1.187, allocations: 65.5 kB / 1.486 GB, free: 13.52 MB / 1.17 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/1.187, allocations: 72.86 kB / 1.486 GB, free: 13.45 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.8e-05/1.188, allocations: 39.91 kB / 1.486 GB, free: 13.41 MB / 1.17 GB
Notification: Performance of sorting global known variables: time 0.0007946/1.188, allocations: 459 kB / 1.486 GB, free: 12.97 MB / 1.17 GB
Notification: Performance of sort global known variables: time 1e-07/1.188, allocations: 0 / 1.486 GB, free: 12.97 MB / 1.17 GB
Notification: Performance of remove unused functions: time 0.001081/1.189, allocations: 323.1 kB / 1.486 GB, free: 12.66 MB / 1.17 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.002128/1.192, allocations: 0.6053 MB / 1.487 GB, free: 12.23 MB / 1.17 GB
Notification: Performance of simCode: created initialization part: time 0.001981/1.194, allocations: 0.7843 MB / 1.488 GB, free: 11.43 MB / 1.17 GB
Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.194, allocations: 0 / 1.488 GB, free: 11.43 MB / 1.17 GB
Notification: Performance of simCode: created simulation system equations: time 0.001091/1.195, allocations: 0.4887 MB / 1.488 GB, free: 10.93 MB / 1.17 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/1.196, allocations: 301.3 kB / 1.489 GB, free: 10.66 MB / 1.17 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003877/1.2, allocations: 1.678 MB / 1.49 GB, free: 8.953 MB / 1.17 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007821/1.201, allocations: 1.023 MB / 1.491 GB, free: 7.906 MB / 1.17 GB
Notification: Performance of simCode: alias equations: time 0.0008747/1.202, allocations: 262.5 kB / 1.491 GB, free: 7.645 MB / 1.17 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/1.202, allocations: 107.4 kB / 1.491 GB, free: 7.539 MB / 1.17 GB
Notification: Performance of SimCode: time 1.022e-06/1.202, allocations: 0 / 1.491 GB, free: 7.539 MB / 1.17 GB
Notification: Performance of Templates: time 0.0295/1.232, allocations: 15.69 MB / 1.507 GB, free: 8.012 MB / 1.186 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300]
(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 & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 400]
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/jenkins/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: 10.210963446646929]