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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.421/2.421, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001259/0.001258, allocations: 179.9 kB / 0.4902 GB, free: 2.254 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.681/1.681, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0009676/0.0009676, allocations: 106.5 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003827, allocations: 10.34 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3123, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.405/5.718, allocations: 2.196 GB / 3.425 GB, free: 254.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/5.718, allocations: 91.95 kB / 3.425 GB, free: 254.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.251/8.969, allocations: 0.9264 GB / 4.352 GB, free: 201.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.154e-06/8.969, allocations: 0 / 4.352 GB, free: 201.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001312/8.97, allocations: 39.92 kB / 4.352 GB, free: 201.2 MB / 1.167 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.006235/8.976, allocations: 2.177 MB / 4.354 GB, free: 198.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/8.976, allocations: 11.98 kB / 4.354 GB, free: 198.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00298/8.979, allocations: 0.5211 MB / 4.354 GB, free: 198.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002927/8.982, allocations: 1.243 MB / 4.356 GB, free: 197.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005896/8.982, allocations: 205.9 kB / 4.356 GB, free: 196.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/8.983, allocations: 95.94 kB / 4.356 GB, free: 196.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/8.985, allocations: 1.289 MB / 4.357 GB, free: 195.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/8.985, allocations: 0 / 4.357 GB, free: 195.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/8.985, allocations: 43.98 kB / 4.357 GB, free: 195.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.307e-05/8.985, allocations: 37.98 kB / 4.357 GB, free: 195.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002598/8.988, allocations: 1.277 MB / 4.359 GB, free: 194.1 MB / 1.167 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.008721/8.996, allocations: 5.109 MB / 4.364 GB, free: 188.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/8.999, allocations: 1.087 MB / 4.365 GB, free: 187.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/9, allocations: 0.8427 MB / 4.365 GB, free: 186.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001366/9.001, allocations: 0.7312 MB / 4.366 GB, free: 185.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=84): time 3.617e-06/9.002, allocations: 3.938 kB / 4.366 GB, free: 185.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.004374/9.006, allocations: 2.007 MB / 4.368 GB, free: 183.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/9.006, allocations: 119.4 kB / 4.368 GB, free: 183.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/9.007, allocations: 0.9074 MB / 4.369 GB, free: 182.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/9.007, allocations: 49.7 kB / 4.369 GB, free: 182.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/9.008, allocations: 0.5242 MB / 4.37 GB, free: 182.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/9.008, allocations: 276.1 kB / 4.37 GB, free: 181.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/9.008, allocations: 20 kB / 4.37 GB, free: 181.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.523e-05/9.008, allocations: 341.9 kB / 4.37 GB, free: 181.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/9.009, allocations: 0.5328 MB / 4.371 GB, free: 180.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/9.011, allocations: 0.7499 MB / 4.372 GB, free: 180.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/9.012, allocations: 0.6231 MB / 4.372 GB, free: 179.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/9.012, allocations: 0 / 4.372 GB, free: 179.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003299/9.015, allocations: 1.573 MB / 4.374 GB, free: 177.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002746/9.016, allocations: 1.124 MB / 4.375 GB, free: 176.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/9.016, allocations: 0 / 4.375 GB, free: 176.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/9.016, allocations: 12 kB / 4.375 GB, free: 176.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/9.017, allocations: 259.7 kB / 4.375 GB, free: 176.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/9.017, allocations: 11.94 kB / 4.375 GB, free: 176.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/9.019, allocations: 222.8 kB / 4.375 GB, free: 176.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/9.019, allocations: 55.95 kB / 4.375 GB, free: 176.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/9.019, allocations: 4 kB / 4.375 GB, free: 176.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003072/9.022, allocations: 1.475 MB / 4.377 GB, free: 174.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/9.022, allocations: 4.094 kB / 4.377 GB, free: 174.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/9.022, allocations: 12 kB / 4.377 GB, free: 174.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/9.023, allocations: 267.6 kB / 4.377 GB, free: 174.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/9.023, allocations: 4 kB / 4.377 GB, free: 174.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/9.025, allocations: 203 kB / 4.377 GB, free: 174.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/9.025, allocations: 59.97 kB / 4.377 GB, free: 174.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 () * Number of clocked 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.000939/9.026, allocations: 460.2 kB / 4.378 GB, free: 173.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/9.026, allocations: 134.4 kB / 4.378 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003162/9.029, allocations: 1.576 MB / 4.379 GB, free: 171.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/9.029, allocations: 11.98 kB / 4.379 GB, free: 171.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/9.029, allocations: 4 kB / 4.379 GB, free: 171.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/9.029, allocations: 7.938 kB / 4.379 GB, free: 171.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00517/9.034, allocations: 3.046 MB / 4.382 GB, free: 168.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/9.034, allocations: 416 / 4.382 GB, free: 168.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009774/9.035, allocations: 211.7 kB / 4.383 GB, free: 168.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/9.035, allocations: 8 kB / 4.383 GB, free: 168.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.077e-05/9.036, allocations: 39.95 kB / 4.383 GB, free: 168.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/9.036, allocations: 8 kB / 4.383 GB, free: 168.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/9.036, allocations: 4 kB / 4.383 GB, free: 168.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004309/9.04, allocations: 2.563 MB / 4.385 GB, free: 165.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007927/9.041, allocations: 363 kB / 4.386 GB, free: 165.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/9.041, allocations: 24 kB / 4.386 GB, free: 165.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/9.042, allocations: 143.9 kB / 4.386 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/9.042, allocations: 64.44 kB / 4.386 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.984e-05/9.042, allocations: 47.97 kB / 4.386 GB, free: 165.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009765/9.043, allocations: 0.705 MB / 4.386 GB, free: 164.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.5e-07/9.043, allocations: 0 / 4.386 GB, free: 164.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003315/9.047, allocations: 1.007 MB / 4.387 GB, free: 163.4 MB / 1.167 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) * Number of clocked states: 0 () * 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.00333/9.05, allocations: 2.235 MB / 4.39 GB, free: 161.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00455/9.055, allocations: 2.3 MB / 4.392 GB, free: 158.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/9.055, allocations: 0 / 4.392 GB, free: 158.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001375/9.056, allocations: 0.7879 MB / 4.393 GB, free: 157.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/9.059, allocations: 0.5033 MB / 4.393 GB, free: 157.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004535/9.063, allocations: 2.812 MB / 4.396 GB, free: 154.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/9.064, allocations: 1.188 MB / 4.397 GB, free: 153.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001726/9.065, allocations: 364.8 kB / 4.397 GB, free: 153 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003313/9.066, allocations: 107.4 kB / 4.397 GB, free: 152.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.813e-06/9.066, allocations: 0 / 4.397 GB, free: 152.9 MB / 1.167 GB Notification: Performance of Templates: time 0.06061/9.126, allocations: 45.61 MB / 4.442 GB, free: 107.5 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