Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|P.u_s|P.u_m|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|P.u_s|P.u_m|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.154/2.154, allocations: 387.4 MB / 394.9 MB, free: 13.37 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: 164.9 kB / 487.4 MB, free: 5.023 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.591/1.591, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009326/0.0009326, allocations: 99.84 kB / 0.9219 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.73e-05/1.732e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2847, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.29/5.575, allocations: 2.185 GB / 3.391 GB, free: 143.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/5.575, allocations: 89.14 kB / 3.391 GB, free: 143.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.268/8.843, allocations: 0.9453 GB / 4.337 GB, free: 65.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.013e-06/8.843, allocations: 0 / 4.337 GB, free: 65.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000241/8.843, allocations: 47.97 kB / 4.337 GB, free: 65.25 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.006646/8.85, allocations: 2.091 MB / 4.339 GB, free: 63.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/8.85, allocations: 8.031 kB / 4.339 GB, free: 63.09 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003315/8.853, allocations: 0.5481 MB / 4.339 GB, free: 62.54 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003625/8.857, allocations: 1.367 MB / 4.341 GB, free: 61.12 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005957/8.857, allocations: 169.9 kB / 4.341 GB, free: 60.96 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002368/8.857, allocations: 68 kB / 4.341 GB, free: 60.89 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001516/8.859, allocations: 0.9372 MB / 4.342 GB, free: 59.95 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/8.86, allocations: 1.067 MB / 4.343 GB, free: 58.84 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/8.86, allocations: 0 / 4.343 GB, free: 58.84 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.626e-05/8.861, allocations: 4 kB / 4.343 GB, free: 58.84 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.444e-05/8.861, allocations: 45.98 kB / 4.343 GB, free: 58.79 MB / 1.151 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.007855/8.868, allocations: 5.284 MB / 4.348 GB, free: 53.22 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009023/8.869, allocations: 0.7551 MB / 4.349 GB, free: 52.46 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000444/8.87, allocations: 399.1 kB / 4.349 GB, free: 52.06 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000821/8.871, allocations: 0.7514 MB / 4.35 GB, free: 51.16 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006479/8.871, allocations: 492.4 kB / 4.35 GB, free: 50.67 MB / 1.151 GB Notification: Performance of pre-optimization done (n=82): time 3.096e-06/8.871, allocations: 4 kB / 4.35 GB, free: 50.67 MB / 1.151 GB Notification: Performance of matching and sorting (n=82): time 0.001974/8.873, allocations: 0.9553 MB / 4.351 GB, free: 49.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/8.873, allocations: 119.6 kB / 4.351 GB, free: 49.56 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009362/8.874, allocations: 0.8994 MB / 4.352 GB, free: 48.65 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.511e-05/8.874, allocations: 25.7 kB / 4.352 GB, free: 48.62 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004087/8.875, allocations: 0.6495 MB / 4.353 GB, free: 47.96 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/8.875, allocations: 268.1 kB / 4.353 GB, free: 47.69 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/8.875, allocations: 4 kB / 4.353 GB, free: 47.69 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.831e-05/8.875, allocations: 345.9 kB / 4.353 GB, free: 47.34 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004804/8.876, allocations: 378.5 kB / 4.354 GB, free: 46.98 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006388/8.876, allocations: 0.6721 MB / 4.355 GB, free: 46.19 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009465/8.877, allocations: 0.498 MB / 4.355 GB, free: 45.69 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/8.877, allocations: 0 / 4.355 GB, free: 45.69 MB / 1.151 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001948/8.879, allocations: 1.206 MB / 4.356 GB, free: 44.48 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003483/8.88, allocations: 2.062 MB / 4.358 GB, free: 42.27 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/8.88, allocations: 12 kB / 4.358 GB, free: 42.26 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/8.88, allocations: 8 kB / 4.358 GB, free: 42.25 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/8.881, allocations: 359.5 kB / 4.359 GB, free: 41.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005014/8.882, allocations: 1.215 MB / 4.36 GB, free: 40.64 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/8.883, allocations: 191.2 kB / 4.36 GB, free: 40.45 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/8.884, allocations: 55.97 kB / 4.36 GB, free: 40.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/8.884, allocations: 5.719 kB / 4.36 GB, free: 40.39 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00175/8.885, allocations: 1.038 MB / 4.361 GB, free: 39.36 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/8.885, allocations: 4 kB / 4.361 GB, free: 39.35 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/8.885, allocations: 12.66 kB / 4.361 GB, free: 39.34 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/8.887, allocations: 335.5 kB / 4.361 GB, free: 39.01 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/8.887, allocations: 8 kB / 4.361 GB, free: 39 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/8.888, allocations: 187.1 kB / 4.362 GB, free: 38.82 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/8.888, allocations: 55.97 kB / 4.362 GB, free: 38.77 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002707/8.889, allocations: 137.8 kB / 4.362 GB, free: 38.62 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002266/8.889, allocations: 138.3 kB / 4.362 GB, free: 38.49 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/8.891, allocations: 1.097 MB / 4.363 GB, free: 37.38 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/8.891, allocations: 8 kB / 4.363 GB, free: 37.37 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/8.891, allocations: 3.938 kB / 4.363 GB, free: 37.37 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/8.891, allocations: 3.984 kB / 4.363 GB, free: 37.36 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003609/8.895, allocations: 2.525 MB / 4.365 GB, free: 34.74 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/8.895, allocations: 0 / 4.365 GB, free: 34.74 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/8.896, allocations: 256.1 kB / 4.366 GB, free: 34.49 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/8.896, allocations: 8 kB / 4.366 GB, free: 34.48 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.485e-05/8.896, allocations: 23.98 kB / 4.366 GB, free: 34.46 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003406/8.896, allocations: 1.192 MB / 4.367 GB, free: 33.22 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/8.896, allocations: 7.938 kB / 4.367 GB, free: 33.21 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/8.899, allocations: 1.911 MB / 4.369 GB, free: 31.14 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005362/8.899, allocations: 359.2 kB / 4.369 GB, free: 30.77 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/8.899, allocations: 8 kB / 4.369 GB, free: 30.76 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/8.9, allocations: 123.9 kB / 4.369 GB, free: 30.64 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/8.901, allocations: 84.55 kB / 4.369 GB, free: 30.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.532e-05/8.901, allocations: 39.97 kB / 4.369 GB, free: 30.51 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007787/8.901, allocations: 0.6667 MB / 4.37 GB, free: 29.84 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/8.901, allocations: 4 kB / 4.37 GB, free: 29.84 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002764/8.904, allocations: 0.9356 MB / 4.371 GB, free: 28.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002999/8.907, allocations: 2.279 MB / 4.373 GB, free: 26.54 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002682/8.91, allocations: 1.687 MB / 4.375 GB, free: 24.84 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/8.91, allocations: 3.938 kB / 4.375 GB, free: 24.84 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007418/8.911, allocations: 0.4956 MB / 4.375 GB, free: 24.34 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/8.913, allocations: 0.5034 MB / 4.376 GB, free: 23.84 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/8.917, allocations: 1.994 MB / 4.378 GB, free: 21.77 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/8.918, allocations: 1.26 MB / 4.379 GB, free: 20.48 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002167/8.92, allocations: 454 kB / 4.379 GB, free: 20.04 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/8.92, allocations: 103.4 kB / 4.379 GB, free: 19.93 MB / 1.151 GB Notification: Performance of SimCode: time 1.042e-06/8.92, allocations: 4 kB / 4.379 GB, free: 19.93 MB / 1.151 GB Notification: Performance of Templates: time 0.05361/8.974, allocations: 35.2 MB / 4.414 GB, free: 0.9648 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches