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.001662/0.001662, allocations: 105.8 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.001515/0.001515, allocations: 190.7 kB / 22.11 MB, free: 5.152 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.408/1.408, allocations: 225.6 MB / 250.8 MB, free: 13.09 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.147/3.147, allocations: 495.8 MB / 0.783 GB, free: 33.56 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.002044/0.002044, allocations: 68.64 kB / 1.137 GB, free: 33.79 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3938, allocations: 173.6 MB / 1.307 GB, free: 1.719 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.3307/0.7245, allocations: 236.7 MB / 1.538 GB, free: 4.117 MB / 1.232 GB
Notification: Performance of NFInst.instExpressions: time 0.02763/0.7521, allocations: 15.81 MB / 1.553 GB, free: 4.273 MB / 1.248 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003522/0.7557, allocations: 87.25 kB / 1.553 GB, free: 4.188 MB / 1.248 GB
Notification: Performance of NFTyping.typeComponents: time 0.003864/0.7595, allocations: 1.08 MB / 1.554 GB, free: 3.102 MB / 1.248 GB
Notification: Performance of NFTyping.typeBindings: time 0.01129/0.7708, allocations: 3.127 MB / 1.558 GB, free: 15.96 MB / 1.264 GB
Notification: Performance of NFTyping.typeClassSections: time 0.006043/0.7769, allocations: 1.742 MB / 1.559 GB, free: 14.23 MB / 1.264 GB
Notification: Performance of NFFlatten.flatten: time 0.007099/0.784, allocations: 3.464 MB / 1.563 GB, free: 10.75 MB / 1.264 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.002168/0.7861, allocations: 1.007 MB / 1.564 GB, free: 9.715 MB / 1.264 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.009062/0.7952, allocations: 2.89 MB / 1.566 GB, free: 6.828 MB / 1.264 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.00336/0.7986, allocations: 1.125 MB / 1.568 GB, free: 5.711 MB / 1.264 GB
Notification: Performance of NFPackage.collectConstants: time 0.0004339/0.799, allocations: 120 kB / 1.568 GB, free: 5.594 MB / 1.264 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.006834/0.8058, allocations: 2.583 MB / 1.57 GB, free: 3.004 MB / 1.264 GB
Notification: Performance of NFScalarize.scalarize: time 0.0008613/0.8067, allocations: 494.2 kB / 1.571 GB, free: 2.52 MB / 1.264 GB
Notification: Performance of NFVerifyModel.verify: time 0.001631/0.8083, allocations: 0.8085 MB / 1.571 GB, free: 1.707 MB / 1.264 GB
Notification: Performance of NFConvertDAE.convert: time 0.00851/0.8168, allocations: 2.888 MB / 1.574 GB, free: 14.81 MB / 1.279 GB
Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.8168, allocations: 4 kB / 1.574 GB, free: 14.8 MB / 1.279 GB
Notification: Performance of FrontEnd: time 4.799e-06/0.8168, allocations: 3.984 kB / 1.574 GB, free: 14.8 MB / 1.279 GB
Notification: Performance of Transformations before backend: time 5.395e-05/0.8169, allocations: 0 / 1.574 GB, free: 14.8 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.005184/0.8221, allocations: 1.981 MB / 1.576 GB, free: 12.78 MB / 1.279 GB
Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.8221, allocations: 12.03 kB / 1.576 GB, free: 12.77 MB / 1.279 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002967/0.8251, allocations: 0.5024 MB / 1.577 GB, free: 12.26 MB / 1.279 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/0.8278, allocations: 1.093 MB / 1.578 GB, free: 11.12 MB / 1.279 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.8279, allocations: 78 kB / 1.578 GB, free: 11.04 MB / 1.279 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.8281, allocations: 104 kB / 1.578 GB, free: 10.94 MB / 1.279 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002729/0.8308, allocations: 1.354 MB / 1.579 GB, free: 9.469 MB / 1.279 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.8309, allocations: 3.938 kB / 1.579 GB, free: 9.465 MB / 1.279 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.831, allocations: 40 kB / 1.579 GB, free: 9.426 MB / 1.279 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.838e-05/0.831, allocations: 46 kB / 1.579 GB, free: 9.379 MB / 1.279 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002676/0.8337, allocations: 1.05 MB / 1.58 GB, free: 8.332 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.01076/0.8445, allocations: 7.382 MB / 1.588 GB, free: 464 kB / 1.279 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.8462, allocations: 0.5192 MB / 1.588 GB, free: 15.93 MB / 1.295 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006642/0.8468, allocations: 249.2 kB / 1.588 GB, free: 15.68 MB / 1.295 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003104/0.8472, allocations: 64.19 kB / 1.588 GB, free: 15.62 MB / 1.295 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/0.8472, allocations: 34.83 kB / 1.588 GB, free: 15.57 MB / 1.295 GB
Notification: Performance of pre-optimization done (n=33): time 2.765e-06/0.8472, allocations: 0 / 1.588 GB, free: 15.57 MB / 1.295 GB
Notification: Performance of matching and sorting (n=33): time 0.002792/0.85, allocations: 0.8474 MB / 1.589 GB, free: 14.72 MB / 1.295 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.8501, allocations: 55.41 kB / 1.589 GB, free: 14.66 MB / 1.295 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002275/0.8523, allocations: 1.403 MB / 1.591 GB, free: 13.24 MB / 1.295 GB
Notification: Performance of collectPreVariables (initialization): time 9.581e-05/0.8524, allocations: 33.7 kB / 1.591 GB, free: 13.2 MB / 1.295 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0007109/0.8531, allocations: 0.7157 MB / 1.591 GB, free: 12.48 MB / 1.295 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.8533, allocations: 127 kB / 1.591 GB, free: 12.36 MB / 1.295 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002978/0.8536, allocations: 166.5 kB / 1.592 GB, free: 12.19 MB / 1.295 GB
Notification: Performance of setup shared object (initialization): time 0.0001739/0.8538, allocations: 326 kB / 1.592 GB, free: 11.87 MB / 1.295 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008852/0.8546, allocations: 320.6 kB / 1.592 GB, free: 11.55 MB / 1.295 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.856, allocations: 0.685 MB / 1.593 GB, free: 10.69 MB / 1.295 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002064/0.858, allocations: 0.935 MB / 1.594 GB, free: 9.594 MB / 1.295 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.858, allocations: 0 / 1.594 GB, free: 9.594 MB / 1.295 GB
Notification: Performance of matching and sorting (n=88) (initialization): time 0.002765/0.8608, allocations: 1.063 MB / 1.595 GB, free: 8.523 MB / 1.295 GB
Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.8608, allocations: 8 kB / 1.595 GB, free: 8.516 MB / 1.295 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.8608, allocations: 12 kB / 1.595 GB, free: 8.504 MB / 1.295 GB
Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/0.8609, allocations: 20.03 kB / 1.595 GB, free: 8.484 MB / 1.295 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008999/0.8618, allocations: 199.7 kB / 1.595 GB, free: 8.289 MB / 1.295 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.003e-05/0.8618, allocations: 23.92 kB / 1.595 GB, free: 8.266 MB / 1.295 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.8633, allocations: 194.9 kB / 1.595 GB, free: 8.074 MB / 1.295 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.825e-05/0.8634, allocations: 43.98 kB / 1.595 GB, free: 8.031 MB / 1.295 GB
Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001416/0.8648, allocations: 0.5642 MB / 1.596 GB, free: 7.461 MB / 1.295 GB
Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001267/0.8661, allocations: 0.6889 MB / 1.597 GB, free: 6.594 MB / 1.295 GB
Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00194/0.868, allocations: 0.9254 MB / 1.597 GB, free: 5.508 MB / 1.295 GB
Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.185e-06/0.868, allocations: 4 kB / 1.597 GB, free: 5.504 MB / 1.295 GB
Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002703/0.8707, allocations: 1.055 MB / 1.599 GB, free: 4.441 MB / 1.295 GB
Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.8708, allocations: 15.94 kB / 1.599 GB, free: 4.426 MB / 1.295 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.8708, allocations: 12 kB / 1.599 GB, free: 4.414 MB / 1.295 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.8708, allocations: 16 kB / 1.599 GB, free: 4.398 MB / 1.295 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008635/0.8717, allocations: 203.9 kB / 1.599 GB, free: 4.199 MB / 1.295 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.216e-05/0.8717, allocations: 19.94 kB / 1.599 GB, free: 4.18 MB / 1.295 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.8731, allocations: 135.6 kB / 1.599 GB, free: 4.047 MB / 1.295 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-05/0.8732, allocations: 43.98 kB / 1.599 GB, free: 4.004 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.0003548/0.8735, allocations: 239.8 kB / 1.599 GB, free: 3.762 MB / 1.295 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002392/0.8738, allocations: 151 kB / 1.599 GB, free: 3.613 MB / 1.295 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/0.8757, allocations: 0.6449 MB / 1.6 GB, free: 2.957 MB / 1.295 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.8757, allocations: 7.938 kB / 1.6 GB, free: 2.949 MB / 1.295 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.8757, allocations: 0 / 1.6 GB, free: 2.949 MB / 1.295 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.8757, allocations: 0 / 1.6 GB, free: 2.949 MB / 1.295 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003989/0.8797, allocations: 1.868 MB / 1.602 GB, free: 0.9805 MB / 1.295 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.8797, allocations: 4 kB / 1.602 GB, free: 0.9766 MB / 1.295 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005121/0.8802, allocations: 96.02 kB / 1.602 GB, free: 0.8828 MB / 1.295 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.387e-06/0.8802, allocations: 4 kB / 1.602 GB, free: 0.8789 MB / 1.295 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/0.8802, allocations: 12.09 kB / 1.602 GB, free: 0.8672 MB / 1.295 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/0.8802, allocations: 7.984 kB / 1.602 GB, free: 0.8594 MB / 1.295 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.8802, allocations: 7.938 kB / 1.602 GB, free: 0.8516 MB / 1.295 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8778/1.758, allocations: 0.8156 MB / 1.603 GB, free: 296.1 MB / 1.295 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001062/1.759, allocations: 220.5 kB / 1.603 GB, free: 296.1 MB / 1.295 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002446/1.759, allocations: 12.77 kB / 1.603 GB, free: 296.1 MB / 1.295 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/1.761, allocations: 69.73 kB / 1.603 GB, free: 296.1 MB / 1.295 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/1.761, allocations: 33.38 kB / 1.603 GB, free: 296.1 MB / 1.295 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.925e-05/1.761, allocations: 22.91 kB / 1.603 GB, free: 296.1 MB / 1.295 GB
Notification: Performance of sorting global known variables: time 0.002045/1.763, allocations: 1.005 MB / 1.604 GB, free: 296 MB / 1.295 GB
Notification: Performance of sort global known variables: time 8e-08/1.763, allocations: 0 / 1.604 GB, free: 296 MB / 1.295 GB
Notification: Performance of remove unused functions: time 0.002557/1.765, allocations: 0.5792 MB / 1.605 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.0007998/1.766, allocations: 267.8 kB / 1.605 GB, free: 295.9 MB / 1.295 GB
Notification: Performance of simCode: created initialization part: time 0.003048/1.769, allocations: 1.089 MB / 1.606 GB, free: 295.9 MB / 1.295 GB
Notification: Performance of simCode: created event and clocks part: time 4.85e-06/1.769, allocations: 0 / 1.606 GB, free: 295.9 MB / 1.295 GB
Notification: Performance of simCode: created simulation system equations: time 0.0006442/1.77, allocations: 248 kB / 1.606 GB, free: 295.9 MB / 1.295 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003446/1.773, allocations: 0.7439 MB / 1.607 GB, free: 295.8 MB / 1.295 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00508/1.778, allocations: 2.277 MB / 1.609 GB, free: 294.8 MB / 1.295 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/1.78, allocations: 1.181 MB / 1.61 GB, free: 294 MB / 1.295 GB
Notification: Performance of simCode: alias equations: time 0.001878/1.781, allocations: 400.4 kB / 1.611 GB, free: 294 MB / 1.295 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/1.782, allocations: 98.64 kB / 1.611 GB, free: 294 MB / 1.295 GB
Notification: Performance of SimCode: time 1.944e-06/1.782, allocations: 0 / 1.611 GB, free: 294 MB / 1.295 GB
Notification: Performance of Templates: time 0.05597/1.838, allocations: 25.77 MB / 1.636 GB, free: 285.7 MB / 1.295 GB
"
[Timeout remaining time 298]
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: 11.039238037541509]