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.0008948/0.0008948, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009167/0.0009167, allocations: 169.3 kB / 23.02 MB, free: 1.547 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.8906/0.8906, allocations: 177.1 MB / 203.4 MB, free: 5.641 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 1.976/1.976, allocations: 429.5 MB / 0.6732 GB, free: 4.059 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.402e-06/1.402e-06, allocations: 0 / 0.8782 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.6e-05, allocations: 3.188 kB / 0.8782 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.1276/0.1277, allocations: 155.4 MB / 1.03 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01186/0.1395, allocations: 11.16 MB / 1.041 GB, free: 15.19 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.1408, allocations: 95.19 kB / 1.041 GB, free: 15.1 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0008339/0.1416, allocations: 436.6 kB / 1.041 GB, free: 14.67 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002523/0.1441, allocations: 1.674 MB / 1.043 GB, free: 12.98 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002821/0.147, allocations: 1.873 MB / 1.045 GB, free: 11.11 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002999/0.15, allocations: 3.53 MB / 1.048 GB, free: 7.566 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.1512, allocations: 1.045 MB / 1.049 GB, free: 6.488 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002904/0.1541, allocations: 2.21 MB / 1.051 GB, free: 4.367 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009692/0.155, allocations: 0.8799 MB / 1.052 GB, free: 3.484 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001729/0.1552, allocations: 116 kB / 1.052 GB, free: 3.371 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.1566, allocations: 1.138 MB / 1.054 GB, free: 2.23 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003082/0.1569, allocations: 0.5177 MB / 1.054 GB, free: 1.711 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004545/0.1574, allocations: 0.5494 MB / 1.055 GB, free: 1.16 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.4074/0.5648, allocations: 1.81 MB / 1.056 GB, free: 56.07 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.5648, allocations: 4.062 kB / 1.056 GB, free: 56.07 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5648, allocations: 0 / 1.056 GB, free: 56.07 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.411e-05/0.5649, allocations: 0 / 1.056 GB, free: 56.07 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.002192/0.5671, allocations: 2.092 MB / 1.058 GB, free: 54.97 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.5671, allocations: 8.219 kB / 1.058 GB, free: 54.97 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.5684, allocations: 0.571 MB / 1.059 GB, free: 54.84 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.5696, allocations: 1.21 MB / 1.06 GB, free: 54.46 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.907e-05/0.5696, allocations: 85.94 kB / 1.06 GB, free: 54.46 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.665e-05/0.5697, allocations: 116.5 kB / 1.06 GB, free: 54.46 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.5708, allocations: 1.174 MB / 1.061 GB, free: 53.84 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.5708, allocations: 6.875 kB / 1.061 GB, free: 53.84 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.698e-05/0.5709, allocations: 43.72 kB / 1.062 GB, free: 53.84 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.141e-05/0.571, allocations: 43.19 kB / 1.062 GB, free: 53.84 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006645/0.5716, allocations: 460.6 kB / 1.062 GB, free: 53.82 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.003803/0.5754, allocations: 7.392 MB / 1.069 GB, free: 48.5 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000441/0.5759, allocations: 209.5 kB / 1.069 GB, free: 48.46 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.576, allocations: 93.2 kB / 1.07 GB, free: 48.45 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.5761, allocations: 30.3 kB / 1.07 GB, free: 48.45 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.5761, allocations: 40.05 kB / 1.07 GB, free: 48.41 MB / 1.01 GB Notification: Performance of pre-optimization done (n=32): time 2.925e-06/0.5761, allocations: 0 / 1.07 GB, free: 48.41 MB / 1.01 GB Notification: Performance of matching and sorting (n=32): time 0.0007514/0.5769, allocations: 422 kB / 1.07 GB, free: 48.3 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.5769, allocations: 54.31 kB / 1.07 GB, free: 48.23 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008591/0.5778, allocations: 1.155 MB / 1.071 GB, free: 47.96 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/0.5778, allocations: 39.92 kB / 1.071 GB, free: 47.93 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/0.5781, allocations: 0.8291 MB / 1.072 GB, free: 47.53 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.049e-05/0.5782, allocations: 128.6 kB / 1.072 GB, free: 47.45 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.5783, allocations: 210.4 kB / 1.072 GB, free: 47.42 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.949e-05/0.5784, allocations: 0.5175 MB / 1.073 GB, free: 46.94 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.5786, allocations: 113.7 kB / 1.073 GB, free: 46.93 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.5789, allocations: 1.092 MB / 1.074 GB, free: 45.66 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006076/0.5796, allocations: 1.005 MB / 1.075 GB, free: 44.73 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.5796, allocations: 5.531 kB / 1.075 GB, free: 44.73 MB / 1.01 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.0009373/0.5805, allocations: 0.835 MB / 1.076 GB, free: 44.62 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.5805, allocations: 15.25 kB / 1.076 GB, free: 44.62 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.5805, allocations: 16.22 kB / 1.076 GB, free: 44.62 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-05/0.5806, allocations: 25.56 kB / 1.076 GB, free: 44.62 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004824/0.5811, allocations: 236.4 kB / 1.076 GB, free: 44.62 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/0.5811, allocations: 31.98 kB / 1.076 GB, free: 44.62 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006016/0.5817, allocations: 155.7 kB / 1.076 GB, free: 44.56 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/0.5817, allocations: 59.16 kB / 1.076 GB, free: 44.56 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003331/0.5821, allocations: 248.5 kB / 1.077 GB, free: 44.43 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003761/0.5824, allocations: 1.093 MB / 1.078 GB, free: 43.16 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006125/0.5831, allocations: 0.9976 MB / 1.079 GB, free: 42.23 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.983e-06/0.5831, allocations: 5.531 kB / 1.079 GB, free: 42.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.0009135/0.584, allocations: 0.8427 MB / 1.079 GB, free: 42.12 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.584, allocations: 11.66 kB / 1.079 GB, free: 42.12 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.584, allocations: 19.12 kB / 1.079 GB, free: 42.12 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.584, allocations: 22.62 kB / 1.079 GB, free: 42.12 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004244/0.5844, allocations: 238.7 kB / 1.08 GB, free: 42.12 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.5845, allocations: 34.47 kB / 1.08 GB, free: 42.12 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005657/0.585, allocations: 116 kB / 1.08 GB, free: 42.09 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/0.5851, allocations: 56.27 kB / 1.08 GB, free: 42.09 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 (114): * Single equations (assignments): 114 * 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.0001777/0.5853, allocations: 348 kB / 1.08 GB, free: 41.81 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.5854, allocations: 152.5 kB / 1.08 GB, free: 41.73 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004841/0.5859, allocations: 352.6 kB / 1.081 GB, free: 41.66 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.5859, allocations: 2.875 kB / 1.081 GB, free: 41.66 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5859, allocations: 0.8438 kB / 1.081 GB, free: 41.66 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.5859, allocations: 3.234 kB / 1.081 GB, free: 41.66 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.5873, allocations: 1.339 MB / 1.082 GB, free: 41.16 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5873, allocations: 2.719 kB / 1.082 GB, free: 41.16 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.5875, allocations: 72.53 kB / 1.082 GB, free: 41.16 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.5875, allocations: 9.812 kB / 1.082 GB, free: 41.15 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.5876, allocations: 21 kB / 1.082 GB, free: 41.15 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.5876, allocations: 6.156 kB / 1.082 GB, free: 41.15 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5876, allocations: 6.781 kB / 1.082 GB, free: 41.15 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004298/0.588, allocations: 0.5929 MB / 1.083 GB, free: 40.71 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/0.5882, allocations: 207 kB / 1.083 GB, free: 40.62 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.185e-05/0.5883, allocations: 9.156 kB / 1.083 GB, free: 40.62 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.5887, allocations: 40.41 kB / 1.083 GB, free: 40.62 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.5888, allocations: 31.44 kB / 1.083 GB, free: 40.62 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.5888, allocations: 24.95 kB / 1.083 GB, free: 40.62 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005047/0.5893, allocations: 0.6647 MB / 1.084 GB, free: 40.46 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5893, allocations: 2.5 kB / 1.084 GB, free: 40.46 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001355/0.5907, allocations: 0.6852 MB / 1.084 GB, free: 40.35 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 (31): * Single equations (assignments): 31 * 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.0003207/0.591, allocations: 179 kB / 1.085 GB, free: 40.25 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.592, allocations: 0.7343 MB / 1.085 GB, free: 40.23 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.592, allocations: 0 / 1.085 GB, free: 40.23 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.5921, allocations: 105.4 kB / 1.085 GB, free: 40.21 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.5935, allocations: 0.4964 MB / 1.086 GB, free: 40.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.5964, allocations: 2.173 MB / 1.088 GB, free: 39.05 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.5966, allocations: 264.4 kB / 1.088 GB, free: 38.96 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008336/0.5974, allocations: 330.6 kB / 1.089 GB, free: 38.93 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.5976, allocations: 85.75 kB / 1.089 GB, free: 38.93 MB / 1.01 GB Notification: Performance of SimCode: time 1.613e-06/0.5976, allocations: 1 kB / 1.089 GB, free: 38.93 MB / 1.01 GB Notification: Performance of Templates: time 0.02662/0.6242, allocations: 18.75 MB / 1.107 GB, free: 37.03 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: 5.837626687716693]