Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example4.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.00159/0.00159, 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.001681/0.001681, allocations: 186.8 kB / 22.22 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.345/1.345, 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 2.812/2.812, allocations: 496 MB / 0.7835 GB, free: 33.52 MB / 0.6231 GB
"
[Timeout remaining time 177]
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.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example4")
translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example4") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 67.02 kB / 1.138 GB, free: 33.77 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2864, allocations: 173.6 MB / 1.307 GB, free: 1.797 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2506/0.537, allocations: 239.3 MB / 1.541 GB, free: 1.629 MB / 1.232 GB
Notification: Performance of NFInst.instExpressions: time 0.02104/0.558, allocations: 15.91 MB / 1.556 GB, free: 1.672 MB / 1.248 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002238/0.5603, allocations: 87.25 kB / 1.557 GB, free: 1.586 MB / 1.248 GB
Notification: Performance of NFTyping.typeComponents: time 0.002532/0.5628, allocations: 1.08 MB / 1.558 GB, free: 0.5 MB / 1.248 GB
Notification: Performance of NFTyping.typeBindings: time 0.007299/0.5701, allocations: 3.131 MB / 1.561 GB, free: 13.36 MB / 1.264 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004356/0.5745, allocations: 1.739 MB / 1.562 GB, free: 11.63 MB / 1.264 GB
Notification: Performance of NFFlatten.flatten: time 0.005012/0.5795, allocations: 3.461 MB / 1.566 GB, free: 8.156 MB / 1.264 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.581, allocations: 1.014 MB / 1.567 GB, free: 7.109 MB / 1.264 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.006692/0.5877, allocations: 2.894 MB / 1.57 GB, free: 4.219 MB / 1.264 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.002354/0.5901, allocations: 1.121 MB / 1.571 GB, free: 3.105 MB / 1.264 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002208/0.5903, allocations: 116 kB / 1.571 GB, free: 2.992 MB / 1.264 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.005995/0.5963, allocations: 3.266 MB / 1.574 GB, free: 15.72 MB / 1.279 GB
Notification: Performance of NFScalarize.scalarize: time 0.0006616/0.597, allocations: 0.4943 MB / 1.574 GB, free: 15.22 MB / 1.279 GB
Notification: Performance of NFVerifyModel.verify: time 0.001094/0.598, allocations: 0.8046 MB / 1.575 GB, free: 14.41 MB / 1.279 GB
Notification: Performance of NFConvertDAE.convert: time 0.00537/0.6034, allocations: 2.982 MB / 1.578 GB, free: 11.42 MB / 1.279 GB
Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6034, allocations: 0 / 1.578 GB, free: 11.42 MB / 1.279 GB
Notification: Performance of FrontEnd: time 1.392e-06/0.6034, allocations: 0 / 1.578 GB, free: 11.42 MB / 1.279 GB
Notification: Performance of Transformations before backend: time 2.255e-05/0.6034, allocations: 0 / 1.578 GB, free: 11.42 MB / 1.279 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 251
 * Number of variables: 251
Notification: Performance of Generate backend data structure: time 0.003429/0.6069, allocations: 1.985 MB / 1.58 GB, free: 9.395 MB / 1.279 GB
Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.6069, allocations: 8.922 kB / 1.58 GB, free: 9.387 MB / 1.279 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002609/0.6095, allocations: 0.5101 MB / 1.581 GB, free: 8.875 MB / 1.279 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/0.6118, allocations: 1.093 MB / 1.582 GB, free: 7.734 MB / 1.279 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.193e-05/0.6119, allocations: 81.98 kB / 1.582 GB, free: 7.652 MB / 1.279 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.612, allocations: 103.9 kB / 1.582 GB, free: 7.551 MB / 1.279 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.6143, allocations: 1.342 MB / 1.583 GB, free: 6.09 MB / 1.279 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.6143, allocations: 7.938 kB / 1.583 GB, free: 6.082 MB / 1.279 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-05/0.6144, allocations: 43.98 kB / 1.583 GB, free: 6.039 MB / 1.279 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.803e-05/0.6145, allocations: 45.98 kB / 1.583 GB, free: 5.992 MB / 1.279 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002272/0.6168, allocations: 1.05 MB / 1.584 GB, free: 4.945 MB / 1.279 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.008276/0.625, allocations: 7.4 MB / 1.591 GB, free: 13.05 MB / 1.295 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.6265, allocations: 0.5191 MB / 1.592 GB, free: 12.52 MB / 1.295 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005734/0.627, allocations: 253.2 kB / 1.592 GB, free: 12.27 MB / 1.295 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002746/0.6273, allocations: 60.17 kB / 1.592 GB, free: 12.21 MB / 1.295 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.6274, allocations: 30.84 kB / 1.592 GB, free: 12.17 MB / 1.295 GB
Notification: Performance of pre-optimization done (n=33): time 1.804e-06/0.6274, allocations: 0 / 1.592 GB, free: 12.17 MB / 1.295 GB
Notification: Performance of matching and sorting (n=33): time 0.00226/0.6296, allocations: 0.859 MB / 1.593 GB, free: 11.31 MB / 1.295 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.6297, allocations: 55.41 kB / 1.593 GB, free: 11.24 MB / 1.295 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/0.6314, allocations: 1.391 MB / 1.595 GB, free: 9.84 MB / 1.295 GB
Notification: Performance of collectPreVariables (initialization): time 5.647e-05/0.6315, allocations: 33.7 kB / 1.595 GB, free: 9.801 MB / 1.295 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0005992/0.6321, allocations: 0.7196 MB / 1.595 GB, free: 9.078 MB / 1.295 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.6322, allocations: 127 kB / 1.595 GB, free: 8.953 MB / 1.295 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.6324, allocations: 162.5 kB / 1.596 GB, free: 8.789 MB / 1.295 GB
Notification: Performance of setup shared object (initialization): time 0.0001404/0.6326, allocations: 334 kB / 1.596 GB, free: 8.457 MB / 1.295 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007541/0.6333, allocations: 308.6 kB / 1.596 GB, free: 8.152 MB / 1.295 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.6344, allocations: 0.6889 MB / 1.597 GB, free: 7.285 MB / 1.295 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/0.636, allocations: 0.9389 MB / 1.598 GB, free: 6.188 MB / 1.295 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.636, allocations: 4 kB / 1.598 GB, free: 6.184 MB / 1.295 GB
Notification: Performance of matching and sorting (n=88) (initialization): time 0.002173/0.6382, allocations: 1.051 MB / 1.599 GB, free: 5.125 MB / 1.295 GB
Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.6382, allocations: 8 kB / 1.599 GB, free: 5.117 MB / 1.295 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.6382, allocations: 12 kB / 1.599 GB, free: 5.105 MB / 1.295 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.6383, allocations: 16 kB / 1.599 GB, free: 5.09 MB / 1.295 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007903/0.639, allocations: 212.1 kB / 1.599 GB, free: 4.883 MB / 1.295 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.333e-05/0.6391, allocations: 23.92 kB / 1.599 GB, free: 4.859 MB / 1.295 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.6402, allocations: 183 kB / 1.599 GB, free: 4.68 MB / 1.295 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-05/0.6403, allocations: 47.98 kB / 1.599 GB, free: 4.633 MB / 1.295 GB
Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001085/0.6413, allocations: 0.5682 MB / 1.6 GB, free: 4.059 MB / 1.295 GB
Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001031/0.6424, allocations: 0.6889 MB / 1.601 GB, free: 3.191 MB / 1.295 GB
Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001608/0.644, allocations: 0.9371 MB / 1.601 GB, free: 2.094 MB / 1.295 GB
Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.476e-06/0.644, allocations: 0 / 1.601 GB, free: 2.094 MB / 1.295 GB
Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002108/0.6461, allocations: 1.048 MB / 1.602 GB, free: 1.039 MB / 1.295 GB
Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.6461, allocations: 11.94 kB / 1.602 GB, free: 1.027 MB / 1.295 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.6461, allocations: 12 kB / 1.602 GB, free: 1.016 MB / 1.295 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.6461, allocations: 20.06 kB / 1.603 GB, free: 0.9961 MB / 1.295 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007509/0.6469, allocations: 203.6 kB / 1.603 GB, free: 0.7969 MB / 1.295 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.16e-05/0.6469, allocations: 23.92 kB / 1.603 GB, free: 0.7734 MB / 1.295 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.648, allocations: 131.6 kB / 1.603 GB, free: 0.6445 MB / 1.295 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.806e-05/0.6481, allocations: 47.98 kB / 1.603 GB, free: 0.5977 MB / 1.295 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 52
 * 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 (88):
 * Single equations (assignments): 88
 * 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.0002341/0.6483, allocations: 235.9 kB / 1.603 GB, free: 368 kB / 1.295 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.6485, allocations: 151 kB / 1.603 GB, free: 216 kB / 1.295 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5451/1.194, allocations: 0.6407 MB / 1.604 GB, free: 297 MB / 1.295 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/1.194, allocations: 3.125 kB / 1.604 GB, free: 297 MB / 1.295 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/1.194, allocations: 1.5 kB / 1.604 GB, free: 297 MB / 1.295 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.194, allocations: 1.922 kB / 1.604 GB, free: 297 MB / 1.295 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003228/1.197, allocations: 1.86 MB / 1.606 GB, free: 296.6 MB / 1.295 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.197, allocations: 6.562 kB / 1.606 GB, free: 296.6 MB / 1.295 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004613/1.197, allocations: 97.75 kB / 1.606 GB, free: 296.6 MB / 1.295 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/1.197, allocations: 5.031 kB / 1.606 GB, free: 296.6 MB / 1.295 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/1.197, allocations: 11.22 kB / 1.606 GB, free: 296.6 MB / 1.295 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-06/1.197, allocations: 11.88 kB / 1.606 GB, free: 296.6 MB / 1.295 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.197, allocations: 7.812 kB / 1.606 GB, free: 296.6 MB / 1.295 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/1.199, allocations: 0.8203 MB / 1.607 GB, free: 296.4 MB / 1.295 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004667/1.199, allocations: 221.5 kB / 1.607 GB, free: 296.4 MB / 1.295 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/1.199, allocations: 10.25 kB / 1.607 GB, free: 296.4 MB / 1.295 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009046/1.2, allocations: 66.97 kB / 1.607 GB, free: 296.4 MB / 1.295 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.286e-05/1.2, allocations: 39.69 kB / 1.607 GB, free: 296.4 MB / 1.295 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/1.2, allocations: 21.66 kB / 1.607 GB, free: 296.4 MB / 1.295 GB
Notification: Performance of sorting global known variables: time 0.001198/1.202, allocations: 1.009 MB / 1.608 GB, free: 296 MB / 1.295 GB
Notification: Performance of sort global known variables: time 6e-08/1.202, allocations: 0 / 1.608 GB, free: 296 MB / 1.295 GB
Notification: Performance of remove unused functions: time 0.001405/1.203, allocations: 0.5831 MB / 1.609 GB, free: 296 MB / 1.295 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 16
 * 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 simulation (32):
 * Single equations (assignments): 32
 * 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 Backend phase and start with SimCode phase: time 0.0004502/1.203, allocations: 266.7 kB / 1.609 GB, free: 295.9 MB / 1.295 GB
Notification: Performance of simCode: created initialization part: time 0.002194/1.206, allocations: 1.081 MB / 1.61 GB, free: 295.6 MB / 1.295 GB
Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.206, allocations: 3.938 kB / 1.61 GB, free: 295.6 MB / 1.295 GB
Notification: Performance of simCode: created simulation system equations: time 0.0005329/1.206, allocations: 245.8 kB / 1.61 GB, free: 295.5 MB / 1.295 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/1.209, allocations: 0.7442 MB / 1.611 GB, free: 295.4 MB / 1.295 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004417/1.213, allocations: 2.282 MB / 1.613 GB, free: 294.2 MB / 1.295 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007515/1.214, allocations: 1.182 MB / 1.614 GB, free: 293.5 MB / 1.295 GB
Notification: Performance of simCode: alias equations: time 0.001329/1.215, allocations: 388 kB / 1.615 GB, free: 293.4 MB / 1.295 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/1.216, allocations: 98.88 kB / 1.615 GB, free: 293.4 MB / 1.295 GB
Notification: Performance of SimCode: time 8.01e-07/1.216, allocations: 0 / 1.615 GB, free: 293.4 MB / 1.295 GB
Notification: Performance of Templates: time 0.03697/1.253, allocations: 25.78 MB / 1.64 GB, free: 282.8 MB / 1.295 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example4.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example4  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.Example4.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.338613621890545]