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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 178.5 kB / 326.5 MB, free: 2.242 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.638/1.638, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0009263/0.000926, allocations: 92.42 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003307, allocations: 9.375 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2095, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.749/4.958, allocations: 2.471 GB / 3.371 GB, free: 39.18 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/4.959, allocations: 92.67 kB / 3.371 GB, free: 39.13 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.021/7.98, allocations: 0.8896 GB / 4.261 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.843e-06/7.98, allocations: 0 / 4.261 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001635/7.98, allocations: 33.7 kB / 4.261 GB, free: 142.4 MB / 0.8855 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.00626/7.986, allocations: 2.139 MB / 4.263 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/7.986, allocations: 10.66 kB / 4.263 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003173/7.99, allocations: 0.5194 MB / 4.263 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003285/7.993, allocations: 1.223 MB / 4.265 GB, free: 140.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006229/7.994, allocations: 210.5 kB / 4.265 GB, free: 140.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003195/7.994, allocations: 100.4 kB / 4.265 GB, free: 140.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/7.997, allocations: 1.284 MB / 4.266 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/7.997, allocations: 6.938 kB / 4.266 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/7.997, allocations: 34.41 kB / 4.266 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/7.997, allocations: 38.62 kB / 4.266 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002793/8, allocations: 1.322 MB / 4.267 GB, free: 140.6 MB / 0.8855 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.008801/8.008, allocations: 5.017 MB / 4.272 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002725/8.011, allocations: 1.066 MB / 4.273 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009486/8.012, allocations: 0.8377 MB / 4.274 GB, free: 137.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001478/8.014, allocations: 0.716 MB / 4.275 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=85): time 3.777e-06/8.014, allocations: 3.156 kB / 4.275 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85): time 0.004459/8.018, allocations: 1.99 MB / 4.277 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/8.018, allocations: 121.2 kB / 4.277 GB, free: 137 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/8.02, allocations: 0.9069 MB / 4.278 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000154/8.02, allocations: 44.98 kB / 4.278 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/8.02, allocations: 0.5341 MB / 4.278 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/8.02, allocations: 275 kB / 4.279 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-05/8.021, allocations: 16.91 kB / 4.279 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.705e-05/8.021, allocations: 344.5 kB / 4.279 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/8.022, allocations: 0.5221 MB / 4.28 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/8.023, allocations: 0.735 MB / 4.28 GB, free: 136 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/8.025, allocations: 0.6191 MB / 4.281 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/8.025, allocations: 0 / 4.281 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003369/8.028, allocations: 1.54 MB / 4.282 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002319/8.028, allocations: 1.12 MB / 4.283 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/8.028, allocations: 3.781 kB / 4.283 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/8.028, allocations: 7.156 kB / 4.283 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/8.03, allocations: 269.5 kB / 4.284 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/8.03, allocations: 14.39 kB / 4.284 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/8.031, allocations: 216.2 kB / 4.284 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/8.032, allocations: 55.83 kB / 4.284 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/8.032, allocations: 3.688 kB / 4.284 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00313/8.035, allocations: 1.455 MB / 4.285 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/8.035, allocations: 7.578 kB / 4.285 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/8.035, allocations: 11.34 kB / 4.285 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/8.036, allocations: 261.7 kB / 4.286 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/8.036, allocations: 6.625 kB / 4.286 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/8.038, allocations: 193.9 kB / 4.286 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/8.038, allocations: 58 kB / 4.286 GB, free: 134.3 MB / 0.8855 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.0007649/8.039, allocations: 459 kB / 4.286 GB, free: 134 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003479/8.039, allocations: 132.5 kB / 4.286 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003367/8.042, allocations: 1.561 MB / 4.288 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/8.042, allocations: 10.47 kB / 4.288 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/8.042, allocations: 0 / 4.288 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/8.042, allocations: 11.88 kB / 4.288 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005445/8.048, allocations: 3.015 MB / 4.291 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/8.048, allocations: 3.625 kB / 4.291 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/8.049, allocations: 210.5 kB / 4.291 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/8.049, allocations: 7.781 kB / 4.291 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.52e-05/8.049, allocations: 30.84 kB / 4.291 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/8.049, allocations: 10.52 kB / 4.291 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/8.049, allocations: 2.781 kB / 4.291 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004761/8.054, allocations: 2.515 MB / 4.294 GB, free: 132.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009478/8.055, allocations: 364.5 kB / 4.294 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003091/8.055, allocations: 31.42 kB / 4.294 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/8.057, allocations: 134.6 kB / 4.294 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/8.057, allocations: 67.38 kB / 4.294 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/8.057, allocations: 45.91 kB / 4.294 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001246/8.058, allocations: 0.7012 MB / 4.295 GB, free: 131 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2e-07/8.058, allocations: 0 / 4.295 GB, free: 131 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003436/8.062, allocations: 1.007 MB / 4.296 GB, free: 130 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) * 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.00384/8.065, allocations: 2.237 MB / 4.298 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004381/8.07, allocations: 2.27 MB / 4.3 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/8.07, allocations: 0 / 4.3 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/8.071, allocations: 0.7801 MB / 4.301 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/8.074, allocations: 0.5068 MB / 4.302 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004587/8.078, allocations: 2.788 MB / 4.304 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006461/8.079, allocations: 1.184 MB / 4.306 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001769/8.081, allocations: 358.8 kB / 4.306 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003678/8.081, allocations: 103.4 kB / 4.306 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.103e-06/8.081, allocations: 0 / 4.306 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.05862/8.14, allocations: 45.43 MB / 4.35 GB, free: 75.01 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