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.318/2.318, allocations: 390.5 MB / 398 MB, free: 10.99 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.001288/0.001288, allocations: 180.9 kB / 491.2 MB, free: 1.625 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.617/1.617, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.0009991/0.0009992, allocations: 95.69 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.847e-05/1.859e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3293, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.511/6.841, allocations: 2.195 GB / 3.408 GB, free: 106.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/6.841, allocations: 83.95 kB / 3.408 GB, free: 106.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.681/10.52, allocations: 0.9161 GB / 4.324 GB, free: 54.32 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.274e-06/10.52, allocations: 0 / 4.324 GB, free: 54.32 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001272/10.52, allocations: 35.92 kB / 4.324 GB, free: 54.28 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.005589/10.53, allocations: 1.949 MB / 4.326 GB, free: 52.27 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/10.53, allocations: 8.031 kB / 4.326 GB, free: 52.27 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003139/10.53, allocations: 0.5211 MB / 4.326 GB, free: 51.74 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003013/10.53, allocations: 1.216 MB / 4.328 GB, free: 50.47 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005795/10.53, allocations: 173.8 kB / 4.328 GB, free: 50.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/10.53, allocations: 60 kB / 4.328 GB, free: 50.24 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001464/10.54, allocations: 0.9333 MB / 4.329 GB, free: 49.31 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/10.54, allocations: 1.024 MB / 4.33 GB, free: 48.26 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/10.54, allocations: 0 / 4.33 GB, free: 48.26 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.419e-05/10.54, allocations: 4 kB / 4.33 GB, free: 48.26 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.774e-05/10.54, allocations: 37.98 kB / 4.33 GB, free: 48.22 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.008096/10.55, allocations: 4.93 MB / 4.335 GB, free: 42.99 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00099/10.55, allocations: 0.8067 MB / 4.335 GB, free: 42.15 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000477/10.55, allocations: 447.4 kB / 4.336 GB, free: 41.71 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009387/10.55, allocations: 0.839 MB / 4.337 GB, free: 40.71 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007431/10.55, allocations: 0.6116 MB / 4.337 GB, free: 40.07 MB / 1.151 GB Notification: Performance of pre-optimization done (n=84): time 2.575e-06/10.55, allocations: 0 / 4.337 GB, free: 40.07 MB / 1.151 GB Notification: Performance of matching and sorting (n=84): time 0.002672/10.55, allocations: 1.119 MB / 4.338 GB, free: 38.94 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/10.55, allocations: 141.3 kB / 4.338 GB, free: 38.77 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009038/10.55, allocations: 0.7462 MB / 4.339 GB, free: 38.01 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/10.55, allocations: 33.69 kB / 4.339 GB, free: 37.97 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003685/10.55, allocations: 0.5276 MB / 4.34 GB, free: 37.44 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/10.55, allocations: 268 kB / 4.34 GB, free: 37.17 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.009e-05/10.55, allocations: 4 kB / 4.34 GB, free: 37.17 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.178e-05/10.55, allocations: 345.8 kB / 4.34 GB, free: 36.82 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004655/10.55, allocations: 386.5 kB / 4.341 GB, free: 36.45 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/10.56, allocations: 0.5924 MB / 4.341 GB, free: 35.78 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/10.56, allocations: 0.5405 MB / 4.342 GB, free: 35.24 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/10.56, allocations: 0 / 4.342 GB, free: 35.24 MB / 1.151 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002373/10.56, allocations: 1.281 MB / 4.343 GB, free: 33.95 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002657/10.56, allocations: 1.196 MB / 4.344 GB, free: 32.66 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/10.56, allocations: 7.938 kB / 4.344 GB, free: 32.65 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/10.56, allocations: 7.953 kB / 4.344 GB, free: 32.64 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/10.56, allocations: 275.6 kB / 4.344 GB, free: 32.37 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/10.56, allocations: 4 kB / 4.344 GB, free: 32.37 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/10.56, allocations: 191 kB / 4.345 GB, free: 32.18 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/10.56, allocations: 55.95 kB / 4.345 GB, free: 32.12 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/10.56, allocations: 5.562 kB / 4.345 GB, free: 32.12 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002204/10.56, allocations: 1.175 MB / 4.346 GB, free: 30.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/10.56, allocations: 4 kB / 4.346 GB, free: 30.94 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.836e-06/10.56, allocations: 8 kB / 4.346 GB, free: 30.93 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/10.57, allocations: 272 kB / 4.346 GB, free: 30.67 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/10.57, allocations: 7.984 kB / 4.346 GB, free: 30.66 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/10.57, allocations: 167.2 kB / 4.346 GB, free: 30.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/10.57, allocations: 51.97 kB / 4.346 GB, free: 30.45 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.0003315/10.57, allocations: 202 kB / 4.347 GB, free: 30.23 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/10.57, allocations: 122.5 kB / 4.347 GB, free: 30.11 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00261/10.57, allocations: 1.276 MB / 4.348 GB, free: 28.82 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/10.57, allocations: 16 kB / 4.348 GB, free: 28.81 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/10.57, allocations: 0 / 4.348 GB, free: 28.81 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/10.57, allocations: 4.078 kB / 4.348 GB, free: 28.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004269/10.57, allocations: 2.693 MB / 4.351 GB, free: 26.02 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/10.57, allocations: 7.984 kB / 4.351 GB, free: 26.01 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009538/10.58, allocations: 212 kB / 4.351 GB, free: 25.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/10.58, allocations: 8 kB / 4.351 GB, free: 25.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-05/10.58, allocations: 27.97 kB / 4.351 GB, free: 25.77 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.311e-06/10.58, allocations: 4 kB / 4.351 GB, free: 25.77 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/10.58, allocations: 4 kB / 4.351 GB, free: 25.76 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/10.58, allocations: 2.117 MB / 4.353 GB, free: 23.52 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006239/10.58, allocations: 347.2 kB / 4.353 GB, free: 23.16 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/10.58, allocations: 16 kB / 4.353 GB, free: 23.14 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/10.58, allocations: 135.9 kB / 4.353 GB, free: 23.01 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/10.58, allocations: 68.38 kB / 4.353 GB, free: 22.95 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.323e-05/10.58, allocations: 47.97 kB / 4.353 GB, free: 22.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007567/10.58, allocations: 0.5656 MB / 4.354 GB, free: 22.32 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.81e-07/10.58, allocations: 3.938 kB / 4.354 GB, free: 22.32 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002909/10.58, allocations: 0.9396 MB / 4.355 GB, free: 21.38 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.003738/10.59, allocations: 2.419 MB / 4.357 GB, free: 18.88 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00242/10.59, allocations: 1.844 MB / 4.359 GB, free: 16.99 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/10.59, allocations: 0 / 4.359 GB, free: 16.99 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006413/10.59, allocations: 0.6266 MB / 4.36 GB, free: 16.34 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/10.59, allocations: 422.9 kB / 4.36 GB, free: 15.93 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003654/10.6, allocations: 1.725 MB / 4.362 GB, free: 14.13 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006076/10.6, allocations: 1.185 MB / 4.363 GB, free: 12.92 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002071/10.6, allocations: 400.4 kB / 4.363 GB, free: 12.52 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/10.6, allocations: 91.39 kB / 4.363 GB, free: 12.43 MB / 1.151 GB Notification: Performance of SimCode: time 1.402e-06/10.6, allocations: 0 / 4.363 GB, free: 12.43 MB / 1.151 GB Notification: Performance of Templates: time 0.8876/11.49, allocations: 33.47 MB / 4.396 GB, free: 214.8 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