Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.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_latest_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_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.385/2.385, allocations: 390.5 MB / 398 MB, free: 10.91 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.001064/0.001064, allocations: 188.8 kB / 491.2 MB, free: 1.531 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.705/1.705, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001334/0.001334, allocations: 91.58 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.924e-05/1.926e-05, allocations: 7.984 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.33, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.697/7.027, allocations: 2.186 GB / 3.399 GB, free: 90.98 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/7.028, allocations: 87.64 kB / 3.399 GB, free: 90.94 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.832/10.86, allocations: 0.9454 GB / 4.344 GB, free: 14.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.445e-06/10.86, allocations: 0 / 4.344 GB, free: 14.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002061/10.86, allocations: 47.92 kB / 4.344 GB, free: 14.15 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.007177/10.87, allocations: 2.086 MB / 4.346 GB, free: 12.01 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/10.87, allocations: 12.03 kB / 4.346 GB, free: 12 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00316/10.87, allocations: 0.5519 MB / 4.347 GB, free: 11.44 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003345/10.87, allocations: 1.36 MB / 4.348 GB, free: 10.03 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005862/10.87, allocations: 169.9 kB / 4.348 GB, free: 9.863 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/10.88, allocations: 71.95 kB / 4.348 GB, free: 9.793 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001511/10.88, allocations: 0.9334 MB / 4.349 GB, free: 8.859 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/10.88, allocations: 1.063 MB / 4.35 GB, free: 7.758 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/10.88, allocations: 4 kB / 4.35 GB, free: 7.754 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.773e-05/10.88, allocations: 4 kB / 4.35 GB, free: 7.75 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.07e-05/10.88, allocations: 49.92 kB / 4.35 GB, free: 7.703 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.009283/10.89, allocations: 5.301 MB / 4.356 GB, free: 2.109 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000978/10.89, allocations: 0.7355 MB / 4.356 GB, free: 1.363 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004695/10.89, allocations: 395.1 kB / 4.357 GB, free: 0.9766 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009256/10.89, allocations: 0.7516 MB / 4.357 GB, free: 80 kB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000943/10.89, allocations: 0.4885 MB / 4.358 GB, free: 15.57 MB / 1.167 GB Notification: Performance of pre-optimization done (n=81): time 4.579e-06/10.89, allocations: 0 / 4.358 GB, free: 15.57 MB / 1.167 GB Notification: Performance of matching and sorting (n=81): time 0.002664/10.89, allocations: 0.9556 MB / 4.359 GB, free: 14.61 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.5e-05/10.89, allocations: 115.6 kB / 4.359 GB, free: 14.47 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/10.9, allocations: 0.8996 MB / 4.36 GB, free: 13.56 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/10.9, allocations: 25.7 kB / 4.36 GB, free: 13.53 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006338/10.9, allocations: 0.6495 MB / 4.36 GB, free: 12.87 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002805/10.9, allocations: 264 kB / 4.361 GB, free: 12.61 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-05/10.9, allocations: 4 kB / 4.361 GB, free: 12.61 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001561/10.9, allocations: 349.9 kB / 4.361 GB, free: 12.26 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006211/10.9, allocations: 382.5 kB / 4.361 GB, free: 11.89 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008533/10.9, allocations: 0.67 MB / 4.362 GB, free: 11.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/10.9, allocations: 0.4942 MB / 4.363 GB, free: 10.61 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/10.9, allocations: 4 kB / 4.363 GB, free: 10.61 MB / 1.167 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002397/10.9, allocations: 1.198 MB / 4.364 GB, free: 9.398 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009238/10.9, allocations: 2.055 MB / 4.366 GB, free: 7.203 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/10.9, allocations: 4 kB / 4.366 GB, free: 7.199 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/10.9, allocations: 15.94 kB / 4.366 GB, free: 7.184 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/10.9, allocations: 363.5 kB / 4.366 GB, free: 6.828 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007998/10.91, allocations: 1.203 MB / 4.367 GB, free: 5.578 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/10.91, allocations: 203 kB / 4.367 GB, free: 5.379 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/10.91, allocations: 55.97 kB / 4.367 GB, free: 5.324 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/10.91, allocations: 4 kB / 4.367 GB, free: 5.32 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002121/10.91, allocations: 1.038 MB / 4.368 GB, free: 4.281 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/10.91, allocations: 4 kB / 4.368 GB, free: 4.277 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/10.91, allocations: 12 kB / 4.369 GB, free: 4.266 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/10.91, allocations: 335.9 kB / 4.369 GB, free: 3.938 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/10.91, allocations: 8 kB / 4.369 GB, free: 3.93 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/10.91, allocations: 191.1 kB / 4.369 GB, free: 3.742 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/10.91, allocations: 55.97 kB / 4.369 GB, free: 3.688 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 128 * 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.0003484/10.91, allocations: 132.7 kB / 4.369 GB, free: 3.551 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003029/10.91, allocations: 138.2 kB / 4.369 GB, free: 3.414 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002454/10.92, allocations: 1.093 MB / 4.37 GB, free: 2.312 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/10.92, allocations: 12 kB / 4.37 GB, free: 2.301 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/10.92, allocations: 0 / 4.37 GB, free: 2.301 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/10.92, allocations: 4.078 kB / 4.37 GB, free: 2.297 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.9397/11.86, allocations: 2.505 MB / 4.373 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-05/11.86, allocations: 3.984 kB / 4.373 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/11.86, allocations: 256.5 kB / 4.373 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.269e-05/11.86, allocations: 8.031 kB / 4.373 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.511e-05/11.86, allocations: 21.56 kB / 4.373 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005083/11.86, allocations: 1.188 MB / 4.374 GB, free: 211 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/11.86, allocations: 10.97 kB / 4.374 GB, free: 211 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003696/11.86, allocations: 1.9 MB / 4.376 GB, free: 210.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008656/11.86, allocations: 363.8 kB / 4.377 GB, free: 210.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/11.86, allocations: 10.11 kB / 4.377 GB, free: 210.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/11.86, allocations: 139.6 kB / 4.377 GB, free: 210.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/11.86, allocations: 74.84 kB / 4.377 GB, free: 210.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/11.86, allocations: 39.03 kB / 4.377 GB, free: 210.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001305/11.87, allocations: 0.6673 MB / 4.377 GB, free: 210.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.3e-07/11.87, allocations: 3.375 kB / 4.377 GB, free: 210.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003923/11.87, allocations: 0.9321 MB / 4.378 GB, free: 210.2 MB / 1.167 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: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * 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.005291/11.88, allocations: 2.277 MB / 4.381 GB, free: 209.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004265/11.88, allocations: 1.668 MB / 4.382 GB, free: 209.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/11.88, allocations: 5.297 kB / 4.382 GB, free: 209.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001124/11.88, allocations: 0.4947 MB / 4.383 GB, free: 209.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003285/11.88, allocations: 0.4923 MB / 4.383 GB, free: 209.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004878/11.89, allocations: 1.988 MB / 4.385 GB, free: 209 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/11.89, allocations: 1.259 MB / 4.386 GB, free: 208.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002841/11.89, allocations: 464 kB / 4.387 GB, free: 208.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003708/11.89, allocations: 97.23 kB / 4.387 GB, free: 208.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.142e-06/11.89, allocations: 0 / 4.387 GB, free: 208.2 MB / 1.167 GB Notification: Performance of Templates: time 0.08043/11.97, allocations: 35.07 MB / 4.421 GB, free: 207.7 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches