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.484/1.484, allocations: 249.3 MB / 261.8 MB, free: 5.844 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001315/0.001316, allocations: 176.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.000953/0.0009533, allocations: 87.73 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.793e-05/3.796e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2254, allocations: 106.3 MB / 0.8918 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.682/6.907, allocations: 2.471 GB / 3.363 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/6.907, allocations: 85.58 kB / 3.363 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.766/10.67, allocations: 0.8881 GB / 4.251 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.014e-06/10.67, allocations: 0 / 4.251 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002176/10.67, allocations: 38.97 kB / 4.251 GB, free: 129.9 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.0071/10.68, allocations: 1.911 MB / 4.253 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/10.68, allocations: 11.25 kB / 4.253 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003842/10.68, allocations: 0.5157 MB / 4.253 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004223/10.69, allocations: 1.219 MB / 4.254 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007161/10.69, allocations: 210.4 kB / 4.255 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005311/10.69, allocations: 94.69 kB / 4.255 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002934/10.69, allocations: 1.145 MB / 4.256 GB, free: 128.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/10.69, allocations: 0 / 4.256 GB, free: 128.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001754/10.69, allocations: 45.88 kB / 4.256 GB, free: 128.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.449e-05/10.69, allocations: 38.31 kB / 4.256 GB, free: 128.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/10.7, allocations: 1.05 MB / 4.257 GB, free: 128.8 MB / 0.8855 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.008701/10.7, allocations: 5.016 MB / 4.262 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/10.71, allocations: 0.7778 MB / 4.263 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005933/10.71, allocations: 478 kB / 4.263 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009358/10.71, allocations: 0.8361 MB / 4.264 GB, free: 126 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007737/10.71, allocations: 0.5832 MB / 4.264 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=85): time 3.887e-06/10.71, allocations: 3.812 kB / 4.264 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85): time 0.002044/10.71, allocations: 1.089 MB / 4.266 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/10.71, allocations: 118.8 kB / 4.266 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/10.71, allocations: 0.8894 MB / 4.267 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/10.71, allocations: 45.17 kB / 4.267 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/10.71, allocations: 0.5299 MB / 4.267 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/10.71, allocations: 273 kB / 4.267 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/10.71, allocations: 20.09 kB / 4.267 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.508e-05/10.71, allocations: 337.8 kB / 4.268 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005548/10.71, allocations: 404.2 kB / 4.268 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006823/10.71, allocations: 0.6001 MB / 4.269 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006451/10.71, allocations: 497.6 kB / 4.269 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/10.71, allocations: 0 / 4.269 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00192/10.72, allocations: 1.27 MB / 4.27 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000257/10.72, allocations: 1.124 MB / 4.271 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/10.72, allocations: 6.875 kB / 4.271 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/10.72, allocations: 7.781 kB / 4.271 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/10.72, allocations: 261.6 kB / 4.272 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/10.72, allocations: 9.594 kB / 4.272 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/10.72, allocations: 212.5 kB / 4.272 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/10.72, allocations: 56.02 kB / 4.272 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/10.72, allocations: 7.656 kB / 4.272 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001726/10.72, allocations: 1.182 MB / 4.273 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/10.72, allocations: 0 / 4.273 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/10.72, allocations: 7.938 kB / 4.273 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/10.72, allocations: 263.4 kB / 4.273 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/10.72, allocations: 11.61 kB / 4.273 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/10.72, allocations: 198.4 kB / 4.274 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/10.72, allocations: 55.55 kB / 4.274 GB, free: 123.1 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 () * 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.0003094/10.72, allocations: 232.8 kB / 4.274 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/10.72, allocations: 130.5 kB / 4.274 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/10.73, allocations: 1.289 MB / 4.275 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/10.73, allocations: 10.72 kB / 4.275 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/10.73, allocations: 6.562 kB / 4.275 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/10.73, allocations: 7.594 kB / 4.275 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003897/10.73, allocations: 2.759 MB / 4.278 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/10.73, allocations: 3.844 kB / 4.278 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009349/10.73, allocations: 206.6 kB / 4.278 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/10.73, allocations: 3.875 kB / 4.278 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.476e-05/10.73, allocations: 37.44 kB / 4.278 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/10.73, allocations: 13.41 kB / 4.278 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/10.73, allocations: 3.719 kB / 4.278 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/10.73, allocations: 2.135 MB / 4.28 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006458/10.73, allocations: 354.1 kB / 4.281 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/10.74, allocations: 26.16 kB / 4.281 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/10.74, allocations: 141.7 kB / 4.281 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/10.74, allocations: 70.86 kB / 4.281 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-05/10.74, allocations: 46.58 kB / 4.281 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008666/10.74, allocations: 0.6845 MB / 4.282 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/10.74, allocations: 0 / 4.282 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00316/10.74, allocations: 1.002 MB / 4.283 GB, free: 121.2 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) * 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.00361/10.74, allocations: 2.234 MB / 4.285 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00271/10.75, allocations: 1.906 MB / 4.287 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/10.75, allocations: 0 / 4.287 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007596/10.75, allocations: 0.6597 MB / 4.287 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002703/10.75, allocations: 0.5018 MB / 4.288 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/10.75, allocations: 1.762 MB / 4.289 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005454/10.75, allocations: 1.187 MB / 4.291 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001968/10.76, allocations: 429.7 kB / 4.291 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/10.76, allocations: 91.11 kB / 4.291 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of SimCode: time 7.52e-07/10.76, allocations: 0 / 4.291 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.0664/10.82, allocations: 52.04 MB / 4.342 GB, free: 117.1 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