Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.QMax_flow|hex.Q1_flow|hex.Q2_flow|hex.hA.hA_1|hex.hA.hA_2",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.QMax_flow|hex.Q1_flow|hex.Q2_flow|hex.hA.hA_1|hex.hA.hA_2",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.024/2.024, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 181.2 kB / 490.8 MB, free: 1.945 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 221.3 MB / 0.7863 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009415/0.0009418, allocations: 90.22 kB / 0.9264 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.604e-06/7.635e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2815, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.479/4.761, allocations: 2.195 GB / 3.407 GB, free: 121.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/4.761, allocations: 87.95 kB / 3.407 GB, free: 121.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.065/7.827, allocations: 0.9245 GB / 4.331 GB, free: 59.36 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002606/7.827, allocations: 35.98 kB / 4.332 GB, free: 59.32 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.009244/7.836, allocations: 1.96 MB / 4.333 GB, free: 57.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/7.836, allocations: 12.03 kB / 4.333 GB, free: 57.29 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004048/7.84, allocations: 0.5679 MB / 4.334 GB, free: 56.72 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004535/7.845, allocations: 1.237 MB / 4.335 GB, free: 55.43 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006624/7.846, allocations: 185.9 kB / 4.335 GB, free: 55.25 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004753/7.846, allocations: 60 kB / 4.335 GB, free: 55.19 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002116/7.848, allocations: 0.9294 MB / 4.336 GB, free: 54.26 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/7.85, allocations: 1.051 MB / 4.337 GB, free: 53.19 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/7.85, allocations: 0 / 4.337 GB, free: 53.19 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/7.85, allocations: 0 / 4.337 GB, free: 53.19 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.504e-05/7.851, allocations: 41.92 kB / 4.337 GB, free: 53.14 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008765/7.859, allocations: 4.96 MB / 4.342 GB, free: 47.91 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/7.86, allocations: 0.8044 MB / 4.343 GB, free: 47.08 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005303/7.861, allocations: 463.8 kB / 4.343 GB, free: 46.62 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009749/7.862, allocations: 0.85 MB / 4.344 GB, free: 45.61 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007086/7.863, allocations: 0.6108 MB / 4.345 GB, free: 44.97 MB / 1.151 GB Notification: Performance of pre-optimization done (n=84): time 2.535e-06/7.863, allocations: 0 / 4.345 GB, free: 44.97 MB / 1.151 GB Notification: Performance of matching and sorting (n=84): time 0.00264/7.865, allocations: 1.09 MB / 4.346 GB, free: 43.87 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/7.865, allocations: 145.1 kB / 4.346 GB, free: 43.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009836/7.866, allocations: 0.7462 MB / 4.347 GB, free: 42.93 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/7.866, allocations: 29.7 kB / 4.347 GB, free: 42.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/7.867, allocations: 384.2 kB / 4.347 GB, free: 42.52 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/7.867, allocations: 264 kB / 4.348 GB, free: 42.25 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/7.867, allocations: 8.031 kB / 4.348 GB, free: 42.25 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.795e-05/7.867, allocations: 341.9 kB / 4.348 GB, free: 41.91 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005137/7.868, allocations: 389.9 kB / 4.348 GB, free: 41.52 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006103/7.868, allocations: 0.5926 MB / 4.349 GB, free: 40.86 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/7.87, allocations: 0.5647 MB / 4.349 GB, free: 40.29 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/7.87, allocations: 0 / 4.349 GB, free: 40.29 MB / 1.151 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002369/7.872, allocations: 1.239 MB / 4.351 GB, free: 39.04 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001945/7.872, allocations: 1.147 MB / 4.352 GB, free: 37.81 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/7.872, allocations: 4 kB / 4.352 GB, free: 37.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/7.872, allocations: 8 kB / 4.352 GB, free: 37.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/7.874, allocations: 271.6 kB / 4.352 GB, free: 37.53 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/7.874, allocations: 8 kB / 4.352 GB, free: 37.52 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/7.875, allocations: 195 kB / 4.352 GB, free: 37.33 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/7.875, allocations: 51.97 kB / 4.352 GB, free: 37.28 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-06/7.875, allocations: 4 kB / 4.352 GB, free: 37.28 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002071/7.877, allocations: 1.094 MB / 4.353 GB, free: 36.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/7.877, allocations: 4 kB / 4.353 GB, free: 36.18 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.804e-06/7.877, allocations: 8 kB / 4.353 GB, free: 36.17 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/7.879, allocations: 272 kB / 4.354 GB, free: 35.91 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/7.879, allocations: 11.98 kB / 4.354 GB, free: 35.89 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/7.88, allocations: 179.1 kB / 4.354 GB, free: 35.72 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/7.88, allocations: 51.97 kB / 4.354 GB, free: 35.67 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002633/7.88, allocations: 196.7 kB / 4.354 GB, free: 35.46 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/7.88, allocations: 114.6 kB / 4.354 GB, free: 35.34 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/7.883, allocations: 1.255 MB / 4.355 GB, free: 34.09 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/7.883, allocations: 12 kB / 4.355 GB, free: 34.07 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/7.883, allocations: 3.938 kB / 4.355 GB, free: 34.07 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/7.883, allocations: 3.984 kB / 4.355 GB, free: 34.07 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004058/7.887, allocations: 2.683 MB / 4.358 GB, free: 31.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/7.887, allocations: 96 / 4.358 GB, free: 31.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/7.888, allocations: 215.9 kB / 4.358 GB, free: 31.09 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.769e-06/7.888, allocations: 7.984 kB / 4.358 GB, free: 31.08 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-05/7.888, allocations: 27.97 kB / 4.358 GB, free: 31.05 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/7.888, allocations: 11.94 kB / 4.358 GB, free: 31.04 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/7.888, allocations: 0 / 4.358 GB, free: 31.04 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002857/7.891, allocations: 2.092 MB / 4.36 GB, free: 28.82 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005342/7.892, allocations: 347.3 kB / 4.361 GB, free: 28.46 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/7.892, allocations: 12 kB / 4.361 GB, free: 28.45 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/7.893, allocations: 143.8 kB / 4.361 GB, free: 28.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/7.893, allocations: 64.48 kB / 4.361 GB, free: 28.24 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/7.893, allocations: 43.97 kB / 4.361 GB, free: 28.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006775/7.894, allocations: 0.5656 MB / 4.361 GB, free: 27.62 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002787/7.897, allocations: 0.9358 MB / 4.362 GB, free: 26.69 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002982/7.9, allocations: 2.451 MB / 4.365 GB, free: 24.15 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002247/7.902, allocations: 1.663 MB / 4.366 GB, free: 22.47 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/7.902, allocations: 1.375 kB / 4.366 GB, free: 22.47 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006645/7.903, allocations: 0.5958 MB / 4.367 GB, free: 21.86 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002212/7.905, allocations: 402.5 kB / 4.367 GB, free: 21.47 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003876/7.909, allocations: 1.817 MB / 4.369 GB, free: 19.57 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009216/7.91, allocations: 1.309 MB / 4.37 GB, free: 18.24 MB / 1.151 GB Notification: Performance of SimCode: time 1.373e-06/7.91, allocations: 0 / 4.37 GB, free: 18.24 MB / 1.151 GB Notification: Performance of Templates: time 0.6363/8.546, allocations: 40.04 MB / 4.409 GB, free: 329 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches