Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.214/1.214, allocations: 249.4 MB / 256.7 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 197.2 kB / 316 MB, free: 3.512 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.095/1.095, allocations: 205.2 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008076/0.0008077, allocations: 82.22 kB / 0.671 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.26e-05/1.27e-05, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1474, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.802/3.95, allocations: 2.471 GB / 3.356 GB, free: 281 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/3.95, allocations: 83.95 kB / 3.356 GB, free: 280.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.102/6.052, allocations: 0.8876 GB / 4.243 GB, free: 29.87 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.573e-05/6.052, allocations: 35.98 kB / 4.243 GB, free: 29.84 MB / 0.8698 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.004108/6.056, allocations: 1.926 MB / 4.245 GB, free: 27.85 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/6.056, allocations: 11.97 kB / 4.245 GB, free: 27.84 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002967/6.059, allocations: 0.5602 MB / 4.246 GB, free: 27.28 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002505/6.062, allocations: 1.22 MB / 4.247 GB, free: 26 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005831/6.062, allocations: 189.8 kB / 4.247 GB, free: 25.82 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/6.063, allocations: 59.98 kB / 4.247 GB, free: 25.76 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001463/6.064, allocations: 0.9607 MB / 4.248 GB, free: 24.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/6.065, allocations: 1.028 MB / 4.249 GB, free: 23.74 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/6.065, allocations: 3.938 kB / 4.249 GB, free: 23.74 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.004e-05/6.066, allocations: 4 kB / 4.249 GB, free: 23.73 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.652e-05/6.066, allocations: 45.98 kB / 4.249 GB, free: 23.69 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007308/6.073, allocations: 4.918 MB / 4.254 GB, free: 18.48 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009974/6.074, allocations: 0.8182 MB / 4.255 GB, free: 17.64 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005073/6.074, allocations: 457.8 kB / 4.255 GB, free: 17.19 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009192/6.075, allocations: 0.85 MB / 4.256 GB, free: 16.17 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007009/6.076, allocations: 0.6109 MB / 4.257 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=85): time 2.935e-06/6.076, allocations: 0 / 4.257 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85): time 0.00249/6.079, allocations: 1.098 MB / 4.258 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/6.079, allocations: 145.2 kB / 4.258 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008049/6.079, allocations: 0.742 MB / 4.259 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.055e-05/6.08, allocations: 33.64 kB / 4.259 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/6.08, allocations: 376.4 kB / 4.259 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/6.08, allocations: 264.1 kB / 4.259 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/6.08, allocations: 0 / 4.259 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.948e-05/6.08, allocations: 349.8 kB / 4.26 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005029/6.081, allocations: 393.9 kB / 4.26 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005898/6.081, allocations: 0.5918 MB / 4.261 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/6.083, allocations: 0.5647 MB / 4.261 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/6.083, allocations: 4 kB / 4.261 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00231/6.085, allocations: 1.239 MB / 4.262 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001735/6.085, allocations: 1.14 MB / 4.264 GB, free: 8.371 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/6.085, allocations: 8 kB / 4.264 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/6.085, allocations: 8 kB / 4.264 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/6.086, allocations: 279.5 kB / 4.264 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/6.087, allocations: 8 kB / 4.264 GB, free: 8.074 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/6.088, allocations: 191.1 kB / 4.264 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/6.088, allocations: 51.97 kB / 4.264 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/6.088, allocations: 4 kB / 4.264 GB, free: 7.832 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002124/6.09, allocations: 1.102 MB / 4.265 GB, free: 6.734 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/6.09, allocations: 4 kB / 4.265 GB, free: 6.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/6.09, allocations: 8.094 kB / 4.265 GB, free: 6.723 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/6.092, allocations: 275.9 kB / 4.265 GB, free: 6.453 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/6.092, allocations: 11.98 kB / 4.265 GB, free: 6.441 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/6.093, allocations: 171.2 kB / 4.266 GB, free: 6.273 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/6.093, allocations: 55.97 kB / 4.266 GB, free: 6.219 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 16 ($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,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * 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.0002694/6.093, allocations: 192.1 kB / 4.266 GB, free: 6.012 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/6.094, allocations: 118.6 kB / 4.266 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/6.096, allocations: 1.271 MB / 4.267 GB, free: 4.621 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/6.096, allocations: 8 kB / 4.267 GB, free: 4.613 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/6.096, allocations: 0 / 4.267 GB, free: 4.613 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/6.096, allocations: 3.984 kB / 4.267 GB, free: 4.609 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004184/6.1, allocations: 2.691 MB / 4.27 GB, free: 1.832 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/6.1, allocations: 4 kB / 4.27 GB, free: 1.828 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/6.101, allocations: 219.8 kB / 4.27 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/6.102, allocations: 4 kB / 4.27 GB, free: 1.609 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.778e-05/6.102, allocations: 19.98 kB / 4.27 GB, free: 1.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/6.102, allocations: 11.98 kB / 4.27 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/6.102, allocations: 7.938 kB / 4.27 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003093/6.105, allocations: 2.093 MB / 4.272 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006303/6.105, allocations: 359.2 kB / 4.272 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/6.106, allocations: 15.94 kB / 4.272 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/6.107, allocations: 139.8 kB / 4.273 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/6.107, allocations: 52.58 kB / 4.273 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/6.107, allocations: 51.95 kB / 4.273 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0007215/6.108, allocations: 0.5576 MB / 4.273 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002524/6.11, allocations: 0.9318 MB / 4.274 GB, free: 13.21 MB / 0.8855 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: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * 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 (83): * Single equations (assignments): 79 * 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.003175/6.114, allocations: 2.445 MB / 4.277 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002482/6.116, allocations: 1.679 MB / 4.278 GB, free: 8.988 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/6.116, allocations: 4 kB / 4.278 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000733/6.117, allocations: 0.6049 MB / 4.279 GB, free: 8.371 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/6.119, allocations: 415.3 kB / 4.279 GB, free: 7.969 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003748/6.123, allocations: 1.798 MB / 4.281 GB, free: 6.094 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/6.124, allocations: 1.321 MB / 4.282 GB, free: 4.75 MB / 0.8855 GB Notification: Performance of SimCode: time 7.62e-07/6.124, allocations: 0 / 4.282 GB, free: 4.75 MB / 0.8855 GB Notification: Performance of Templates: time 0.3275/6.451, allocations: 40.1 MB / 4.321 GB, free: 212.5 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches