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.5/1.5, allocations: 249.5 MB / 257 MB, free: 6.973 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.001189/0.001189, allocations: 176.7 kB / 316.3 MB, free: 3.305 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.85/1.85, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0008853/0.0008855, allocations: 90.23 kB / 0.6714 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.062e-05/2.065e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.252, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.591/6.843, allocations: 2.471 GB / 3.356 GB, free: 282.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/6.843, allocations: 87.95 kB / 3.356 GB, free: 282.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.033/9.876, allocations: 0.8792 GB / 4.236 GB, free: 38.44 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.535e-06/9.876, allocations: 11.94 kB / 4.236 GB, free: 38.43 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001497/9.876, allocations: 35.98 kB / 4.236 GB, free: 38.39 MB / 0.8698 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.006055/9.882, allocations: 1.91 MB / 4.238 GB, free: 36.43 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/9.882, allocations: 11.97 kB / 4.238 GB, free: 36.41 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003097/9.885, allocations: 0.5211 MB / 4.238 GB, free: 35.89 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002715/9.888, allocations: 1.208 MB / 4.239 GB, free: 34.62 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005712/9.888, allocations: 165.9 kB / 4.239 GB, free: 34.46 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/9.889, allocations: 60 kB / 4.24 GB, free: 34.41 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001484/9.89, allocations: 0.9607 MB / 4.24 GB, free: 33.45 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/9.892, allocations: 1.02 MB / 4.241 GB, free: 32.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/9.892, allocations: 4 kB / 4.241 GB, free: 32.39 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.441e-05/9.892, allocations: 3.953 kB / 4.241 GB, free: 32.39 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-05/9.892, allocations: 38 kB / 4.242 GB, free: 32.35 MB / 0.8698 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.007853/9.9, allocations: 4.889 MB / 4.246 GB, free: 27.16 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000989/9.901, allocations: 0.8255 MB / 4.247 GB, free: 26.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004894/9.901, allocations: 455.3 kB / 4.248 GB, free: 25.86 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009191/9.902, allocations: 0.8351 MB / 4.248 GB, free: 24.86 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007039/9.903, allocations: 0.6155 MB / 4.249 GB, free: 24.21 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=85): time 2.785e-06/9.903, allocations: 7.938 kB / 4.249 GB, free: 24.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85): time 0.00262/9.905, allocations: 1.123 MB / 4.25 GB, free: 23.07 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/9.905, allocations: 145.3 kB / 4.25 GB, free: 22.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008694/9.906, allocations: 0.7381 MB / 4.251 GB, free: 22.14 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/9.906, allocations: 33.69 kB / 4.251 GB, free: 22.11 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/9.907, allocations: 0.5276 MB / 4.251 GB, free: 21.57 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/9.907, allocations: 268.1 kB / 4.252 GB, free: 21.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/9.907, allocations: 3.938 kB / 4.252 GB, free: 21.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.187e-05/9.907, allocations: 338 kB / 4.252 GB, free: 20.96 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005052/9.908, allocations: 390.5 kB / 4.252 GB, free: 20.59 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/9.908, allocations: 0.5833 MB / 4.253 GB, free: 19.93 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/9.91, allocations: 0.5366 MB / 4.253 GB, free: 19.39 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/9.91, allocations: 7.938 kB / 4.254 GB, free: 19.38 MB / 0.8698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00237/9.912, allocations: 1.285 MB / 4.255 GB, free: 18.09 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002552/9.912, allocations: 1.205 MB / 4.256 GB, free: 16.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/9.912, allocations: 0 / 4.256 GB, free: 16.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/9.912, allocations: 8 kB / 4.256 GB, free: 16.78 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/9.914, allocations: 271.6 kB / 4.256 GB, free: 16.51 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/9.914, allocations: 11.94 kB / 4.256 GB, free: 16.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/9.915, allocations: 187 kB / 4.256 GB, free: 16.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/9.915, allocations: 51.97 kB / 4.256 GB, free: 16.27 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/9.915, allocations: 4 kB / 4.256 GB, free: 16.26 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002216/9.917, allocations: 1.171 MB / 4.258 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/9.917, allocations: 4.344 kB / 4.258 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/9.918, allocations: 11.95 kB / 4.258 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/9.919, allocations: 271.6 kB / 4.258 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/9.919, allocations: 11.92 kB / 4.258 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/9.92, allocations: 171.2 kB / 4.258 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/9.92, allocations: 51.97 kB / 4.258 GB, free: 14.58 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.0003153/9.921, allocations: 198.7 kB / 4.258 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/9.921, allocations: 118.7 kB / 4.258 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002721/9.924, allocations: 1.281 MB / 4.26 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/9.924, allocations: 15.94 kB / 4.26 GB, free: 12.94 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/9.924, allocations: 0 / 4.26 GB, free: 12.94 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/9.924, allocations: 3.984 kB / 4.26 GB, free: 12.94 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004284/9.928, allocations: 2.712 MB / 4.262 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/9.928, allocations: 4 kB / 4.262 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000966/9.929, allocations: 204 kB / 4.263 GB, free: 9.941 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/9.929, allocations: 4 kB / 4.263 GB, free: 9.938 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.926e-05/9.929, allocations: 27.97 kB / 4.263 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/9.929, allocations: 12 kB / 4.263 GB, free: 9.898 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/9.929, allocations: 7.875 kB / 4.263 GB, free: 9.891 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003042/9.932, allocations: 2.128 MB / 4.265 GB, free: 7.637 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006147/9.933, allocations: 347.2 kB / 4.265 GB, free: 7.277 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/9.933, allocations: 8 kB / 4.265 GB, free: 7.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/9.934, allocations: 127.9 kB / 4.265 GB, free: 7.145 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/9.934, allocations: 64.38 kB / 4.265 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.573e-05/9.934, allocations: 51.97 kB / 4.265 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007186/9.935, allocations: 0.5615 MB / 4.266 GB, free: 6.461 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/9.935, allocations: 0 / 4.266 GB, free: 6.461 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003036/9.938, allocations: 0.9357 MB / 4.267 GB, free: 5.523 MB / 0.8698 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.003483/9.942, allocations: 2.428 MB / 4.269 GB, free: 3.016 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002494/9.944, allocations: 1.844 MB / 4.271 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/9.944, allocations: 8.188 kB / 4.271 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006819/9.945, allocations: 0.6375 MB / 4.271 GB, free: 468 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002439/9.947, allocations: 421.8 kB / 4.272 GB, free: 44 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003742/9.951, allocations: 1.709 MB / 4.274 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008744/9.952, allocations: 1.185 MB / 4.275 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002156/9.954, allocations: 403.8 kB / 4.275 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/9.954, allocations: 91.39 kB / 4.275 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of SimCode: time 3.286e-06/9.954, allocations: 0 / 4.275 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of Templates: time 0.744/10.7, allocations: 33.49 MB / 4.308 GB, free: 126.8 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