Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9315/0.9315, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.022/2.022, allocations: 429.5 MB / 0.6736 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Fluid.Examples.Performance.Example4") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.133e-06/1.133e-06, allocations: 0 / 0.8782 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.62e-05, allocations: 7.906 kB / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.5946/0.5946, allocations: 237 MB / 1.11 GB, free: 47.26 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01687/0.6115, allocations: 17.17 MB / 1.126 GB, free: 47.01 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/0.6135, allocations: 96.27 kB / 1.126 GB, free: 47.01 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.002133/0.6156, allocations: 1.028 MB / 1.127 GB, free: 46.96 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.007476/0.6231, allocations: 3.207 MB / 1.131 GB, free: 46.4 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.004442/0.6275, allocations: 2.183 MB / 1.133 GB, free: 46.26 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004006/0.6315, allocations: 3.608 MB / 1.136 GB, free: 45.53 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.6328, allocations: 1.043 MB / 1.137 GB, free: 45.4 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005731/0.6385, allocations: 3.413 MB / 1.141 GB, free: 45.02 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.6402, allocations: 1.025 MB / 1.142 GB, free: 44.89 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002243/0.6404, allocations: 123.5 kB / 1.142 GB, free: 44.89 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004671/0.6451, allocations: 2.584 MB / 1.144 GB, free: 44.64 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004931/0.6455, allocations: 0.5253 MB / 1.145 GB, free: 44.54 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007685/0.6463, allocations: 0.5726 MB / 1.145 GB, free: 44.33 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004102/0.6504, allocations: 2.426 MB / 1.148 GB, free: 43.61 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.6504, allocations: 1.125 kB / 1.148 GB, free: 43.61 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6504, allocations: 0.9688 kB / 1.148 GB, free: 43.61 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.228e-05/0.6505, allocations: 0 / 1.148 GB, free: 43.61 MB / 1.01 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.003663/0.6541, allocations: 2.2 MB / 1.15 GB, free: 42.16 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.6542, allocations: 10.41 kB / 1.15 GB, free: 42.16 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/0.6561, allocations: 0.6002 MB / 1.15 GB, free: 41.97 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.6578, allocations: 1.265 MB / 1.152 GB, free: 41.34 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.164e-05/0.6579, allocations: 89.33 kB / 1.152 GB, free: 41.3 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.658, allocations: 110.7 kB / 1.152 GB, free: 41.26 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.6594, allocations: 1.175 MB / 1.153 GB, free: 40.48 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.6594, allocations: 5.469 kB / 1.153 GB, free: 40.48 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.107e-05/0.6594, allocations: 47.88 kB / 1.153 GB, free: 40.45 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-05/0.6595, allocations: 43.14 kB / 1.153 GB, free: 40.44 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000845/0.6603, allocations: 459.2 kB / 1.154 GB, free: 40.38 MB / 1.01 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.004102/0.6645, allocations: 7.396 MB / 1.161 GB, free: 34.29 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004678/0.6649, allocations: 216.8 kB / 1.161 GB, free: 34.23 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.6651, allocations: 102.7 kB / 1.161 GB, free: 34.2 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.6652, allocations: 54.12 kB / 1.161 GB, free: 34.19 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.6653, allocations: 40.05 kB / 1.161 GB, free: 34.14 MB / 1.01 GB Notification: Performance of pre-optimization done (n=33): time 1.704e-06/0.6653, allocations: 1.156 kB / 1.161 GB, free: 34.14 MB / 1.01 GB Notification: Performance of matching and sorting (n=33): time 0.0008117/0.6661, allocations: 432.1 kB / 1.162 GB, free: 33.98 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.6661, allocations: 66.66 kB / 1.162 GB, free: 33.91 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009894/0.6671, allocations: 1.155 MB / 1.163 GB, free: 33.41 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.6671, allocations: 37.83 kB / 1.163 GB, free: 33.37 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/0.6675, allocations: 0.8199 MB / 1.164 GB, free: 32.71 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.511e-05/0.6675, allocations: 133.4 kB / 1.164 GB, free: 32.61 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.6677, allocations: 220.9 kB / 1.164 GB, free: 32.5 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.248e-05/0.6678, allocations: 0.5108 MB / 1.164 GB, free: 32 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.668, allocations: 114.3 kB / 1.165 GB, free: 31.97 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/0.6684, allocations: 1.166 MB / 1.166 GB, free: 30.57 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006341/0.6691, allocations: 1.004 MB / 1.167 GB, free: 29.52 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.6691, allocations: 2.594 kB / 1.167 GB, free: 29.52 MB / 1.01 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.00091/0.67, allocations: 0.8487 MB / 1.167 GB, free: 29.28 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.67, allocations: 13.47 kB / 1.167 GB, free: 29.28 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.67, allocations: 18.03 kB / 1.167 GB, free: 29.28 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.67, allocations: 22.59 kB / 1.168 GB, free: 29.28 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004584/0.6705, allocations: 236.2 kB / 1.168 GB, free: 29.27 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/0.6705, allocations: 39.61 kB / 1.168 GB, free: 29.27 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005687/0.6711, allocations: 142.6 kB / 1.168 GB, free: 29.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.873e-05/0.6711, allocations: 55.3 kB / 1.168 GB, free: 29.2 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003277/0.6715, allocations: 256.7 kB / 1.168 GB, free: 29.04 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004431/0.6719, allocations: 1.159 MB / 1.169 GB, free: 27.63 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005974/0.6725, allocations: 1.006 MB / 1.17 GB, free: 26.58 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.359e-06/0.6725, allocations: 3 kB / 1.17 GB, free: 26.58 MB / 1.01 GB Notification: Performance of matching and sorting (n=115) (initialization_lambda0): time 0.0008482/0.6734, allocations: 0.8419 MB / 1.171 GB, free: 26.35 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.6734, allocations: 13.41 kB / 1.171 GB, free: 26.35 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.6734, allocations: 17.72 kB / 1.171 GB, free: 26.35 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.6734, allocations: 27.56 kB / 1.171 GB, free: 26.34 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/0.6738, allocations: 232.4 kB / 1.171 GB, free: 26.34 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.152e-05/0.6738, allocations: 31.03 kB / 1.171 GB, free: 26.34 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006566/0.6745, allocations: 127 kB / 1.172 GB, free: 26.28 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.6745, allocations: 60.91 kB / 1.172 GB, free: 26.27 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (115): * Single equations (assignments): 115 * 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.0001291/0.6746, allocations: 339.1 kB / 1.172 GB, free: 25.97 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.6748, allocations: 151.2 kB / 1.172 GB, free: 25.89 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005058/0.6753, allocations: 354.2 kB / 1.172 GB, free: 25.72 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.6753, allocations: 3.062 kB / 1.172 GB, free: 25.72 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6753, allocations: 3.266 kB / 1.172 GB, free: 25.72 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.6753, allocations: 0 / 1.172 GB, free: 25.72 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.6768, allocations: 1.342 MB / 1.174 GB, free: 24.93 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.6768, allocations: 3.594 kB / 1.174 GB, free: 24.93 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.677, allocations: 88.98 kB / 1.174 GB, free: 24.92 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.677, allocations: 11.52 kB / 1.174 GB, free: 24.91 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.677, allocations: 14.44 kB / 1.174 GB, free: 24.91 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.677, allocations: 8.781 kB / 1.174 GB, free: 24.91 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.677, allocations: 5.625 kB / 1.174 GB, free: 24.91 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004369/0.6775, allocations: 0.5925 MB / 1.174 GB, free: 24.43 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.6777, allocations: 203.3 kB / 1.175 GB, free: 24.31 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-05/0.6778, allocations: 9.562 kB / 1.175 GB, free: 24.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.6781, allocations: 34.41 kB / 1.175 GB, free: 24.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.6782, allocations: 37.64 kB / 1.175 GB, free: 24.29 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.6782, allocations: 23.84 kB / 1.175 GB, free: 24.29 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005147/0.6787, allocations: 0.6692 MB / 1.175 GB, free: 24.03 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6787, allocations: 0 / 1.175 GB, free: 24.03 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001332/0.6801, allocations: 0.6897 MB / 1.176 GB, free: 23.88 MB / 1.01 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.0003439/0.6804, allocations: 251.2 kB / 1.176 GB, free: 23.75 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008595/0.6813, allocations: 0.7479 MB / 1.177 GB, free: 23.61 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6813, allocations: 3.938 kB / 1.177 GB, free: 23.61 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.6814, allocations: 115 kB / 1.177 GB, free: 23.58 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.6827, allocations: 0.4961 MB / 1.178 GB, free: 23.44 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.6854, allocations: 2.166 MB / 1.18 GB, free: 22.19 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.6855, allocations: 269.3 kB / 1.18 GB, free: 22.09 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006578/0.6862, allocations: 328.7 kB / 1.18 GB, free: 22 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.6863, allocations: 86.05 kB / 1.18 GB, free: 21.99 MB / 1.01 GB Notification: Performance of SimCode: time 7.71e-07/0.6863, allocations: 0 / 1.18 GB, free: 21.99 MB / 1.01 GB Notification: Performance of Templates: time 0.02006/0.7064, allocations: 18.76 MB / 1.199 GB, free: 19.91 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.173921890091151]