Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.42/2.42, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001185/0.001185, allocations: 184.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.611/1.611, allocations: 221.3 MB / 0.7915 GB, free: 5.371 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.0009605/0.0009606, allocations: 87.19 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.174e-05/4.178e-05, allocations: 12 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3916, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.529/6.92, allocations: 2.196 GB / 3.415 GB, free: 90.57 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/6.921, allocations: 87.02 kB / 3.415 GB, free: 90.49 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.599/10.52, allocations: 0.925 GB / 4.34 GB, free: 58.17 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.534e-06/10.52, allocations: 0 / 4.34 GB, free: 58.17 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000165/10.52, allocations: 39.98 kB / 4.34 GB, free: 58.13 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.007605/10.53, allocations: 1.953 MB / 4.342 GB, free: 56.12 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.622e-05/10.53, allocations: 8.031 kB / 4.342 GB, free: 56.11 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003411/10.53, allocations: 0.5211 MB / 4.342 GB, free: 55.59 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00322/10.53, allocations: 1.22 MB / 4.344 GB, free: 54.31 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006032/10.53, allocations: 213.8 kB / 4.344 GB, free: 54.11 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/10.53, allocations: 95.98 kB / 4.344 GB, free: 54.01 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/10.54, allocations: 1.152 MB / 4.345 GB, free: 52.83 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/10.54, allocations: 0 / 4.345 GB, free: 52.83 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/10.54, allocations: 39.94 kB / 4.345 GB, free: 52.79 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-05/10.54, allocations: 37.98 kB / 4.345 GB, free: 52.76 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/10.54, allocations: 1.015 MB / 4.346 GB, free: 51.74 MB / 1.167 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.008356/10.55, allocations: 5.12 MB / 4.351 GB, free: 46.31 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/10.55, allocations: 0.7749 MB / 4.352 GB, free: 45.52 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005778/10.55, allocations: 471.6 kB / 4.352 GB, free: 45.06 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009413/10.55, allocations: 0.835 MB / 4.353 GB, free: 44.06 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007769/10.55, allocations: 0.5982 MB / 4.354 GB, free: 43.44 MB / 1.167 GB Notification: Performance of pre-optimization done (n=84): time 3.196e-06/10.55, allocations: 0 / 4.354 GB, free: 43.44 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.002109/10.55, allocations: 1.119 MB / 4.355 GB, free: 42.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/10.55, allocations: 119.6 kB / 4.355 GB, free: 42.16 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/10.55, allocations: 0.8969 MB / 4.356 GB, free: 41.25 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/10.55, allocations: 49.64 kB / 4.356 GB, free: 41.19 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000381/10.55, allocations: 0.5204 MB / 4.356 GB, free: 40.66 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/10.55, allocations: 276 kB / 4.357 GB, free: 40.39 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/10.55, allocations: 20 kB / 4.357 GB, free: 40.37 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.524e-05/10.55, allocations: 345.9 kB / 4.357 GB, free: 40.03 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005706/10.56, allocations: 405.9 kB / 4.357 GB, free: 39.63 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007043/10.56, allocations: 0.6125 MB / 4.358 GB, free: 38.95 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006446/10.56, allocations: 0.4961 MB / 4.358 GB, free: 38.43 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/10.56, allocations: 0 / 4.358 GB, free: 38.43 MB / 1.167 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001957/10.56, allocations: 1.294 MB / 4.36 GB, free: 37.12 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002782/10.56, allocations: 1.122 MB / 4.361 GB, free: 35.91 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/10.56, allocations: 7.953 kB / 4.361 GB, free: 35.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/10.56, allocations: 4 kB / 4.361 GB, free: 35.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/10.56, allocations: 271.6 kB / 4.361 GB, free: 35.63 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/10.56, allocations: 11.94 kB / 4.361 GB, free: 35.62 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/10.56, allocations: 214.9 kB / 4.361 GB, free: 35.41 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/10.56, allocations: 55.97 kB / 4.361 GB, free: 35.36 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/10.56, allocations: 4 kB / 4.361 GB, free: 35.35 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00172/10.56, allocations: 1.204 MB / 4.362 GB, free: 34.14 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/10.56, allocations: 4 kB / 4.362 GB, free: 34.13 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/10.56, allocations: 4 kB / 4.362 GB, free: 34.13 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/10.56, allocations: 271.9 kB / 4.363 GB, free: 33.86 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/10.56, allocations: 11.98 kB / 4.363 GB, free: 33.85 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/10.57, allocations: 199 kB / 4.363 GB, free: 33.66 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/10.57, allocations: 51.97 kB / 4.363 GB, free: 33.61 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 () * 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.0003542/10.57, allocations: 236.1 kB / 4.363 GB, free: 33.36 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002702/10.57, allocations: 130.4 kB / 4.363 GB, free: 33.23 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/10.57, allocations: 1.32 MB / 4.365 GB, free: 31.88 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/10.57, allocations: 12 kB / 4.365 GB, free: 31.87 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/10.57, allocations: 0 / 4.365 GB, free: 31.87 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/10.57, allocations: 3.984 kB / 4.365 GB, free: 31.86 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004124/10.57, allocations: 2.801 MB / 4.367 GB, free: 28.95 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.006e-06/10.57, allocations: 4 kB / 4.367 GB, free: 28.95 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009751/10.57, allocations: 204.1 kB / 4.368 GB, free: 28.75 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/10.57, allocations: 11.94 kB / 4.368 GB, free: 28.74 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.058e-05/10.57, allocations: 35.97 kB / 4.368 GB, free: 28.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/10.57, allocations: 8 kB / 4.368 GB, free: 28.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/10.57, allocations: 4 kB / 4.368 GB, free: 28.69 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002774/10.58, allocations: 2.161 MB / 4.37 GB, free: 26.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008187/10.58, allocations: 363.2 kB / 4.37 GB, free: 26.03 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/10.58, allocations: 27.98 kB / 4.37 GB, free: 26 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/10.58, allocations: 155.7 kB / 4.37 GB, free: 25.85 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/10.58, allocations: 68.38 kB / 4.37 GB, free: 25.78 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/10.58, allocations: 47.97 kB / 4.37 GB, free: 25.73 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009339/10.58, allocations: 0.6869 MB / 4.371 GB, free: 25.04 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/10.58, allocations: 0 / 4.371 GB, free: 25.04 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003356/10.58, allocations: 1.007 MB / 4.372 GB, free: 24.03 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: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * 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 (82): * Single equations (assignments): 78 * 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.003834/10.59, allocations: 2.237 MB / 4.374 GB, free: 21.72 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002791/10.59, allocations: 1.941 MB / 4.376 GB, free: 19.73 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/10.59, allocations: 0 / 4.376 GB, free: 19.73 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007798/10.59, allocations: 0.6637 MB / 4.377 GB, free: 19.05 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00276/10.59, allocations: 0.496 MB / 4.377 GB, free: 18.55 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/10.6, allocations: 1.798 MB / 4.379 GB, free: 16.68 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/10.6, allocations: 1.182 MB / 4.38 GB, free: 15.47 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002081/10.6, allocations: 443.7 kB / 4.381 GB, free: 15.04 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/10.6, allocations: 91.39 kB / 4.381 GB, free: 14.95 MB / 1.167 GB Notification: Performance of SimCode: time 1.593e-06/10.6, allocations: 0 / 4.381 GB, free: 14.95 MB / 1.167 GB Notification: Performance of Templates: time 0.8768/11.48, allocations: 52.2 MB / 4.432 GB, free: 202.2 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches