Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.215/2.215, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.001132/0.001132, allocations: 180.1 kB / 492.3 MB, free: 0.6328 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.532/1.532, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.000935/0.0009351, allocations: 95.83 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.932e-05/3.933e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3192, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.398/6.717, allocations: 2.195 GB / 3.407 GB, free: 107.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/6.717, allocations: 94.84 kB / 3.407 GB, free: 107.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.706/10.42, allocations: 0.9249 GB / 4.332 GB, free: 47.09 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.663e-06/10.42, allocations: 0 / 4.332 GB, free: 47.09 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001201/10.42, allocations: 31.98 kB / 4.332 GB, free: 47.05 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.005763/10.43, allocations: 1.945 MB / 4.334 GB, free: 45.05 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/10.43, allocations: 8.031 kB / 4.334 GB, free: 45.04 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003172/10.43, allocations: 0.525 MB / 4.335 GB, free: 44.52 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003179/10.44, allocations: 1.233 MB / 4.336 GB, free: 43.23 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006046/10.44, allocations: 213.8 kB / 4.336 GB, free: 43.02 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/10.44, allocations: 96 kB / 4.336 GB, free: 42.93 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/10.44, allocations: 1.149 MB / 4.337 GB, free: 41.75 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/10.44, allocations: 0 / 4.337 GB, free: 41.75 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/10.44, allocations: 44 kB / 4.337 GB, free: 41.71 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.727e-05/10.44, allocations: 37.98 kB / 4.337 GB, free: 41.67 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/10.44, allocations: 1.019 MB / 4.338 GB, free: 40.65 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.008352/10.45, allocations: 5.105 MB / 4.343 GB, free: 35.24 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/10.45, allocations: 0.7837 MB / 4.344 GB, free: 34.45 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005625/10.45, allocations: 476.3 kB / 4.345 GB, free: 33.98 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009669/10.45, allocations: 0.8389 MB / 4.345 GB, free: 32.98 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007843/10.45, allocations: 0.606 MB / 4.346 GB, free: 32.34 MB / 1.151 GB Notification: Performance of pre-optimization done (n=85): time 3.056e-06/10.45, allocations: 0 / 4.346 GB, free: 32.34 MB / 1.151 GB Notification: Performance of matching and sorting (n=85): time 0.002068/10.45, allocations: 1.111 MB / 4.347 GB, free: 31.21 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/10.45, allocations: 115.6 kB / 4.347 GB, free: 31.07 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/10.45, allocations: 0.8927 MB / 4.348 GB, free: 30.17 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/10.46, allocations: 45.7 kB / 4.348 GB, free: 30.12 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003844/10.46, allocations: 0.5321 MB / 4.349 GB, free: 29.58 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/10.46, allocations: 276 kB / 4.349 GB, free: 29.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.885e-05/10.46, allocations: 16 kB / 4.349 GB, free: 29.29 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.213e-05/10.46, allocations: 341.9 kB / 4.349 GB, free: 28.95 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000561/10.46, allocations: 405.9 kB / 4.35 GB, free: 28.55 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007397/10.46, allocations: 0.6135 MB / 4.35 GB, free: 27.86 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006412/10.46, allocations: 0.496 MB / 4.351 GB, free: 27.36 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/10.46, allocations: 0 / 4.351 GB, free: 27.36 MB / 1.151 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001954/10.46, allocations: 1.291 MB / 4.352 GB, free: 26.05 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002595/10.46, allocations: 1.126 MB / 4.353 GB, free: 24.84 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/10.46, allocations: 3.938 kB / 4.353 GB, free: 24.83 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/10.46, allocations: 11.95 kB / 4.353 GB, free: 24.82 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/10.46, allocations: 259.7 kB / 4.353 GB, free: 24.57 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/10.46, allocations: 15.92 kB / 4.353 GB, free: 24.55 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/10.46, allocations: 214.9 kB / 4.354 GB, free: 24.34 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/10.46, allocations: 59.95 kB / 4.354 GB, free: 24.28 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/10.46, allocations: 4 kB / 4.354 GB, free: 24.28 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001735/10.46, allocations: 1.204 MB / 4.355 GB, free: 23.06 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/10.46, allocations: 0 / 4.355 GB, free: 23.06 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/10.46, allocations: 8 kB / 4.355 GB, free: 23.05 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/10.47, allocations: 267.9 kB / 4.355 GB, free: 22.79 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/10.47, allocations: 8 kB / 4.355 GB, free: 22.78 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/10.47, allocations: 203 kB / 4.355 GB, free: 22.58 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/10.47, allocations: 59.89 kB / 4.355 GB, free: 22.52 MB / 1.151 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 () * 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.0003225/10.47, allocations: 232.1 kB / 4.356 GB, free: 22.28 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/10.47, allocations: 130.4 kB / 4.356 GB, free: 22.15 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/10.47, allocations: 1.325 MB / 4.357 GB, free: 20.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/10.47, allocations: 12 kB / 4.357 GB, free: 20.79 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/10.47, allocations: 0 / 4.357 GB, free: 20.79 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/10.47, allocations: 3.984 kB / 4.357 GB, free: 20.79 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003956/10.47, allocations: 2.802 MB / 4.36 GB, free: 17.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/10.47, allocations: 8.062 kB / 4.36 GB, free: 17.88 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009724/10.48, allocations: 215.7 kB / 4.36 GB, free: 17.66 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.508e-05/10.48, allocations: 11.98 kB / 4.36 GB, free: 17.65 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.873e-05/10.48, allocations: 31.98 kB / 4.36 GB, free: 17.62 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/10.48, allocations: 4 kB / 4.36 GB, free: 17.62 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/10.48, allocations: 4 kB / 4.36 GB, free: 17.61 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/10.48, allocations: 2.181 MB / 4.362 GB, free: 15.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007216/10.48, allocations: 359.1 kB / 4.363 GB, free: 14.93 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/10.48, allocations: 28.06 kB / 4.363 GB, free: 14.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/10.48, allocations: 131.8 kB / 4.363 GB, free: 14.77 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/10.48, allocations: 68.42 kB / 4.363 GB, free: 14.71 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.534e-05/10.48, allocations: 47.97 kB / 4.363 GB, free: 14.66 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009011/10.48, allocations: 0.6867 MB / 4.363 GB, free: 13.96 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/10.48, allocations: 3.938 kB / 4.363 GB, free: 13.96 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003351/10.48, allocations: 1.014 MB / 4.364 GB, free: 12.95 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: 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.003778/10.49, allocations: 2.25 MB / 4.367 GB, free: 10.62 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002786/10.49, allocations: 1.938 MB / 4.369 GB, free: 8.637 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/10.49, allocations: 4 kB / 4.369 GB, free: 8.633 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007571/10.49, allocations: 0.6702 MB / 4.369 GB, free: 7.934 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002974/10.5, allocations: 0.4987 MB / 4.37 GB, free: 7.438 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003844/10.5, allocations: 1.791 MB / 4.371 GB, free: 5.574 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006083/10.5, allocations: 1.179 MB / 4.373 GB, free: 4.367 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002249/10.5, allocations: 440.7 kB / 4.373 GB, free: 3.934 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/10.5, allocations: 95.39 kB / 4.373 GB, free: 3.844 MB / 1.151 GB Notification: Performance of SimCode: time 2.114e-06/10.5, allocations: 0 / 4.373 GB, free: 3.844 MB / 1.151 GB Notification: Performance of Templates: time 0.8682/11.37, allocations: 52.28 MB / 4.424 GB, free: 209.2 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches