Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.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.001628/0.001628, 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.001967/0.001967, allocations: 189 kB / 22.22 MB, free: 5.105 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 / 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.183/3.183, allocations: 495.7 MB / 0.7831 GB, free: 33.48 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-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.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1")
translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 68.84 kB / 1.137 GB, free: 33.94 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4201, allocations: 173.6 MB / 1.307 GB, free: 1.949 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2053/0.6254, allocations: 163.1 MB / 1.466 GB, free: 14.21 MB / 1.17 GB
Notification: Performance of NFInst.instExpressions: time 0.005499/0.6309, allocations: 2.938 MB / 1.469 GB, free: 11.27 MB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000764/0.6317, allocations: 19.88 kB / 1.469 GB, free: 11.25 MB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.0009514/0.6326, allocations: 222.8 kB / 1.469 GB, free: 11.03 MB / 1.17 GB
Notification: Performance of NFTyping.typeBindings: time 0.002653/0.6353, allocations: 0.8167 MB / 1.47 GB, free: 10.21 MB / 1.17 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.6364, allocations: 358.9 kB / 1.47 GB, free: 9.859 MB / 1.17 GB
Notification: Performance of NFFlatten.flatten: time 0.00167/0.6381, allocations: 0.9742 MB / 1.471 GB, free: 8.883 MB / 1.17 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004632/0.6385, allocations: 210.5 kB / 1.472 GB, free: 8.676 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000919/0.6394, allocations: 394.5 kB / 1.472 GB, free: 8.289 MB / 1.17 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.6406, allocations: 298.8 kB / 1.472 GB, free: 7.996 MB / 1.17 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.6407, allocations: 36 kB / 1.472 GB, free: 7.961 MB / 1.17 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.6424, allocations: 0.6936 MB / 1.473 GB, free: 7.266 MB / 1.17 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002407/0.6427, allocations: 139.5 kB / 1.473 GB, free: 7.129 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003999/0.6431, allocations: 211.1 kB / 1.473 GB, free: 6.922 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.001784/0.6448, allocations: 0.7591 MB / 1.474 GB, free: 6.16 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.6448, allocations: 4 kB / 1.474 GB, free: 6.156 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.473e-06/0.6449, allocations: 0 / 1.474 GB, free: 6.156 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 1.752e-05/0.6449, allocations: 4 kB / 1.474 GB, free: 6.152 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: 59
 * Number of variables: 59
Notification: Performance of Generate backend data structure: time 0.001477/0.6463, allocations: 0.6484 MB / 1.475 GB, free: 5.473 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.6464, allocations: 8.031 kB / 1.475 GB, free: 5.465 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.6476, allocations: 139.6 kB / 1.475 GB, free: 5.328 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008316/0.6484, allocations: 367.9 kB / 1.475 GB, free: 4.941 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.6484, allocations: 16.5 kB / 1.475 GB, free: 4.926 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.357e-05/0.6485, allocations: 27.95 kB / 1.475 GB, free: 4.898 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005565/0.649, allocations: 278.8 kB / 1.475 GB, free: 4.609 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.6491, allocations: 0 / 1.475 GB, free: 4.609 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.6491, allocations: 8 kB / 1.475 GB, free: 4.602 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.6491, allocations: 16.44 kB / 1.476 GB, free: 4.586 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.6495, allocations: 197.9 kB / 1.476 GB, free: 4.395 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.002109/0.6516, allocations: 1.292 MB / 1.477 GB, free: 2.969 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/0.6521, allocations: 181.4 kB / 1.477 GB, free: 2.785 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.6522, allocations: 88.77 kB / 1.477 GB, free: 2.695 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.6523, allocations: 4 kB / 1.477 GB, free: 2.691 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.6523, allocations: 38.56 kB / 1.477 GB, free: 2.645 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=19): time 1.894e-06/0.6523, allocations: 0 / 1.477 GB, free: 2.645 MB / 1.17 GB
Notification: Performance of matching and sorting (n=19): time 0.001028/0.6533, allocations: 328.1 kB / 1.478 GB, free: 2.316 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.6534, allocations: 55.41 kB / 1.478 GB, free: 2.25 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003717/0.6537, allocations: 296.6 kB / 1.478 GB, free: 1.953 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 4.758e-05/0.6538, allocations: 33.7 kB / 1.478 GB, free: 1.914 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.654, allocations: 196.2 kB / 1.478 GB, free: 1.715 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 9.346e-05/0.654, allocations: 75.41 kB / 1.478 GB, free: 1.641 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-05/0.6541, allocations: 41.67 kB / 1.478 GB, free: 1.594 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0001731/0.6543, allocations: 342.8 kB / 1.479 GB, free: 1.25 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.6544, allocations: 67.97 kB / 1.479 GB, free: 1.184 MB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.6546, allocations: 113.9 kB / 1.479 GB, free: 1.051 MB / 1.17 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.6549, allocations: 191.6 kB / 1.479 GB, free: 0.8438 MB / 1.17 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.6549, allocations: 4 kB / 1.479 GB, free: 0.8398 MB / 1.17 GB
Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004089/0.6553, allocations: 247.2 kB / 1.479 GB, free: 0.5938 MB / 1.17 GB
Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.6553, allocations: 11.88 kB / 1.479 GB, free: 0.582 MB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.6553, allocations: 4.188 kB / 1.479 GB, free: 0.5781 MB / 1.17 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.6553, allocations: 4 kB / 1.479 GB, free: 0.5742 MB / 1.17 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.6555, allocations: 51.91 kB / 1.479 GB, free: 0.5234 MB / 1.17 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.6556, allocations: 4 kB / 1.479 GB, free: 0.5195 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.6559, allocations: 19.83 kB / 1.479 GB, free: 0.5 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.6559, allocations: 4 kB / 1.479 GB, free: 0.4961 MB / 1.17 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 7
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (26):
 * Single equations (assignments): 26
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001848/0.6561, allocations: 166.5 kB / 1.479 GB, free: 332 kB / 1.17 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.137e-05/0.6562, allocations: 31.75 kB / 1.479 GB, free: 300 kB / 1.17 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.171e-05/0.6562, allocations: 43.02 kB / 1.479 GB, free: 252 kB / 1.17 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.6562, allocations: 8 kB / 1.479 GB, free: 244 kB / 1.17 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.6563, allocations: 0 / 1.479 GB, free: 244 kB / 1.17 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.6563, allocations: 0 / 1.479 GB, free: 244 kB / 1.17 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005798/0.6568, allocations: 384.4 kB / 1.48 GB, free: 15.82 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.6568, allocations: 0 / 1.48 GB, free: 15.82 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.657, allocations: 31.92 kB / 1.48 GB, free: 15.79 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002485/0.6573, allocations: 44.77 kB / 1.48 GB, free: 15.74 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.6573, allocations: 4 kB / 1.48 GB, free: 15.73 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.6587, allocations: 1.409 MB / 1.481 GB, free: 14.21 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6588, allocations: 4.062 kB / 1.481 GB, free: 14.21 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00065/0.6594, allocations: 400.8 kB / 1.482 GB, free: 13.8 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.6596, allocations: 55.77 kB / 1.482 GB, free: 13.74 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.6596, allocations: 7.938 kB / 1.482 GB, free: 13.73 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.6599, allocations: 4 kB / 1.482 GB, free: 13.73 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.6599, allocations: 15.97 kB / 1.482 GB, free: 13.71 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.66, allocations: 12 kB / 1.482 GB, free: 13.7 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0002675/0.6602, allocations: 215.1 kB / 1.482 GB, free: 13.5 MB / 1.186 GB
Notification: Performance of sort global known variables: time 9e-08/0.6602, allocations: 0 / 1.482 GB, free: 13.5 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.0004699/0.6607, allocations: 103.8 kB / 1.482 GB, free: 13.39 MB / 1.186 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (17):
 * Single equations (assignments): 16
 * 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): 1 system
   {(1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002147/0.6609, allocations: 115.2 kB / 1.482 GB, free: 13.27 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.0003542/0.6613, allocations: 158 kB / 1.482 GB, free: 13.12 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6613, allocations: 0 / 1.482 GB, free: 13.12 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003348/0.6616, allocations: 202.5 kB / 1.483 GB, free: 12.91 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.6626, allocations: 198.2 kB / 1.483 GB, free: 12.71 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.664, allocations: 0.7377 MB / 1.483 GB, free: 11.96 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.6644, allocations: 0.7959 MB / 1.484 GB, free: 11.14 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0002674/0.6647, allocations: 59.23 kB / 1.484 GB, free: 11.08 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.493e-05/0.6648, allocations: 31.38 kB / 1.484 GB, free: 11.05 MB / 1.186 GB
Notification: Performance of SimCode: time 6.42e-07/0.6648, allocations: 4 kB / 1.484 GB, free: 11.05 MB / 1.186 GB
Notification: Performance of Templates: time 0.01355/0.6783, allocations: 6.323 MB / 1.491 GB, free: 4.812 MB / 1.186 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.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.596358363516629]