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.305/2.305, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001248/0.001248, allocations: 189.6 kB / 498.1 MB, free: 5.781 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.604/1.604, allocations: 223.2 MB / 0.7949 GB, free: 17.97 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.001192/0.001193, allocations: 97.95 kB / 0.9346 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005111/0.0005113, allocations: 13.44 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3495, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.759/6.109, allocations: 2.195 GB / 3.418 GB, free: 236.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/6.109, allocations: 93.03 kB / 3.418 GB, free: 236.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.151/9.26, allocations: 0.9263 GB / 4.344 GB, free: 204.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.994e-06/9.26, allocations: 4 kB / 4.344 GB, free: 204.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001223/9.26, allocations: 39.98 kB / 4.344 GB, free: 204.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.006691/9.267, allocations: 2.173 MB / 4.346 GB, free: 201.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/9.267, allocations: 12.03 kB / 4.346 GB, free: 201.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003249/9.27, allocations: 0.5211 MB / 4.347 GB, free: 201.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003491/9.274, allocations: 1.227 MB / 4.348 GB, free: 200.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006287/9.274, allocations: 213.8 kB / 4.348 GB, free: 199.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002961/9.275, allocations: 103.9 kB / 4.348 GB, free: 199.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/9.277, allocations: 1.289 MB / 4.35 GB, free: 198.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/9.277, allocations: 0 / 4.35 GB, free: 198.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/9.277, allocations: 36 kB / 4.35 GB, free: 198.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.252e-05/9.277, allocations: 41.98 kB / 4.35 GB, free: 198.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002609/9.28, allocations: 1.284 MB / 4.351 GB, free: 197.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.00892/9.289, allocations: 5.096 MB / 4.356 GB, free: 191.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002694/9.292, allocations: 1.094 MB / 4.357 GB, free: 190.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/9.293, allocations: 0.8427 MB / 4.358 GB, free: 189.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001516/9.294, allocations: 0.735 MB / 4.359 GB, free: 188.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=85): time 4.609e-06/9.294, allocations: 0 / 4.359 GB, free: 188.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=85): time 0.004589/9.299, allocations: 2.027 MB / 4.361 GB, free: 186.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/9.299, allocations: 119.5 kB / 4.361 GB, free: 186.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/9.301, allocations: 0.9031 MB / 4.362 GB, free: 185.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000211/9.301, allocations: 49.7 kB / 4.362 GB, free: 185.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005242/9.301, allocations: 0.5243 MB / 4.362 GB, free: 185.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/9.302, allocations: 280 kB / 4.362 GB, free: 184.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.073e-05/9.302, allocations: 16 kB / 4.362 GB, free: 184.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.888e-05/9.302, allocations: 341.9 kB / 4.363 GB, free: 184.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/9.303, allocations: 0.5367 MB / 4.363 GB, free: 184 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/9.305, allocations: 0.7491 MB / 4.364 GB, free: 183.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/9.306, allocations: 0.6231 MB / 4.365 GB, free: 182.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/9.306, allocations: 4 kB / 4.365 GB, free: 182.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003677/9.31, allocations: 1.565 MB / 4.366 GB, free: 180.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002674/9.31, allocations: 1.128 MB / 4.367 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/9.31, allocations: 7.984 kB / 4.367 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.722e-05/9.31, allocations: 8 kB / 4.367 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/9.311, allocations: 263.6 kB / 4.368 GB, free: 179.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/9.311, allocations: 4 kB / 4.368 GB, free: 179.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/9.313, allocations: 222.8 kB / 4.368 GB, free: 179.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/9.314, allocations: 63.89 kB / 4.368 GB, free: 179.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/9.314, allocations: 5.875 kB / 4.368 GB, free: 179.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003196/9.317, allocations: 1.479 MB / 4.369 GB, free: 177.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/9.317, allocations: 4 kB / 4.369 GB, free: 177.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/9.317, allocations: 8 kB / 4.369 GB, free: 177.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/9.318, allocations: 267.7 kB / 4.37 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/9.318, allocations: 8 kB / 4.37 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/9.32, allocations: 195.1 kB / 4.37 GB, free: 177.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/9.32, allocations: 59.92 kB / 4.37 GB, free: 177.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.0009394/9.321, allocations: 468.2 kB / 4.37 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000434/9.321, allocations: 122.5 kB / 4.37 GB, free: 176.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003581/9.325, allocations: 1.594 MB / 4.372 GB, free: 174.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/9.325, allocations: 8 kB / 4.372 GB, free: 174.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/9.325, allocations: 0 / 4.372 GB, free: 174.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/9.325, allocations: 7.922 kB / 4.372 GB, free: 174.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006112/9.331, allocations: 3.065 MB / 4.375 GB, free: 171.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/9.331, allocations: 4 kB / 4.375 GB, free: 171.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/9.332, allocations: 208 kB / 4.375 GB, free: 171.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.078e-05/9.332, allocations: 8 kB / 4.375 GB, free: 171.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.519e-05/9.332, allocations: 35.97 kB / 4.375 GB, free: 171.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/9.332, allocations: 15.94 kB / 4.375 GB, free: 171.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/9.332, allocations: 0 / 4.375 GB, free: 171.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004732/9.337, allocations: 2.574 MB / 4.378 GB, free: 168.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009876/9.338, allocations: 359.1 kB / 4.378 GB, free: 168.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004103/9.339, allocations: 27.98 kB / 4.378 GB, free: 168.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001585/9.34, allocations: 139.9 kB / 4.378 GB, free: 168.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/9.34, allocations: 64.38 kB / 4.378 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/9.341, allocations: 47.97 kB / 4.378 GB, free: 168.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001338/9.342, allocations: 0.701 MB / 4.379 GB, free: 167.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.51e-07/9.342, allocations: 0 / 4.379 GB, free: 167.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004138/9.346, allocations: 1.007 MB / 4.38 GB, free: 166.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: 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) * Number of clocked states: 0 () * 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.004349/9.35, allocations: 2.251 MB / 4.382 GB, free: 164.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005314/9.356, allocations: 2.313 MB / 4.384 GB, free: 161.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/9.356, allocations: 8 kB / 4.384 GB, free: 161.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001596/9.357, allocations: 0.7953 MB / 4.385 GB, free: 160.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002968/9.36, allocations: 0.5109 MB / 4.386 GB, free: 160.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005706/9.366, allocations: 2.817 MB / 4.388 GB, free: 157.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008355/9.367, allocations: 1.18 MB / 4.39 GB, free: 156.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002296/9.369, allocations: 364.9 kB / 4.39 GB, free: 155.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005046/9.37, allocations: 107.4 kB / 4.39 GB, free: 155.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.713e-06/9.37, allocations: 0 / 4.39 GB, free: 155.8 MB / 1.167 GB Notification: Performance of Templates: time 0.06514/9.435, allocations: 45.69 MB / 4.435 GB, free: 110.4 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