Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 249.3 MB / 261.8 MB, free: 5.977 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.001196/0.001196, allocations: 182.1 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.786/1.786, 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.0009611/0.0009612, allocations: 82.5 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.549e-05/3.552e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2343, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.693/6.927, allocations: 2.475 GB / 3.367 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/6.927, allocations: 90.89 kB / 3.367 GB, free: 176 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.795/10.72, allocations: 0.9193 GB / 4.286 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.395e-06/10.72, allocations: 5.969 kB / 4.286 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003172/10.72, allocations: 47.09 kB / 4.286 GB, free: 123.5 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.008163/10.73, allocations: 2.109 MB / 4.288 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/10.73, allocations: 7.344 kB / 4.288 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004326/10.73, allocations: 0.5473 MB / 4.289 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007209/10.74, allocations: 1.397 MB / 4.29 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007453/10.74, allocations: 219.9 kB / 4.29 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005266/10.74, allocations: 119.8 kB / 4.29 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002618/10.75, allocations: 1.228 MB / 4.292 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/10.75, allocations: 0 / 4.292 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/10.75, allocations: 44.83 kB / 4.292 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.538e-05/10.75, allocations: 45.3 kB / 4.292 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/10.75, allocations: 1.067 MB / 4.293 GB, free: 122 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.009121/10.76, allocations: 5.432 MB / 4.298 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/10.76, allocations: 0.762 MB / 4.299 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005351/10.76, allocations: 427.5 kB / 4.299 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008317/10.76, allocations: 0.7489 MB / 4.3 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000734/10.76, allocations: 0.4906 MB / 4.3 GB, free: 119 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=81): time 4.288e-06/10.76, allocations: 0 / 4.3 GB, free: 119 MB / 0.8855 GB Notification: Performance of matching and sorting (n=81): time 0.001831/10.76, allocations: 0.9153 MB / 4.301 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/10.76, allocations: 191.4 kB / 4.302 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/10.76, allocations: 1.159 MB / 4.303 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001367/10.76, allocations: 48.86 kB / 4.303 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004891/10.76, allocations: 0.6415 MB / 4.303 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/10.76, allocations: 286 kB / 4.304 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.215e-05/10.76, allocations: 22.72 kB / 4.304 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.121e-05/10.76, allocations: 354.7 kB / 4.304 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006184/10.77, allocations: 395.6 kB / 4.304 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008293/10.77, allocations: 0.7033 MB / 4.305 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006949/10.77, allocations: 497.9 kB / 4.306 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/10.77, allocations: 3.953 kB / 4.306 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001968/10.77, allocations: 1.249 MB / 4.307 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000379/10.77, allocations: 1.896 MB / 4.309 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/10.77, allocations: 15.27 kB / 4.309 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/10.77, allocations: 10.81 kB / 4.309 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/10.77, allocations: 347.2 kB / 4.309 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005136/10.77, allocations: 1.192 MB / 4.31 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/10.77, allocations: 252.2 kB / 4.31 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/10.77, allocations: 57.84 kB / 4.31 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/10.77, allocations: 4.625 kB / 4.31 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001757/10.78, allocations: 1.095 MB / 4.311 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/10.78, allocations: 6.25 kB / 4.311 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/10.78, allocations: 11 kB / 4.312 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/10.78, allocations: 321.1 kB / 4.312 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/10.78, allocations: 18.48 kB / 4.312 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/10.78, allocations: 228.4 kB / 4.312 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/10.78, allocations: 60.83 kB / 4.312 GB, free: 114 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (133): * Single equations (assignments): 128 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.000295/10.78, allocations: 169.5 kB / 4.312 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/10.78, allocations: 159.5 kB / 4.312 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/10.78, allocations: 1.08 MB / 4.313 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/10.78, allocations: 11.39 kB / 4.313 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/10.78, allocations: 1.938 kB / 4.313 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/10.78, allocations: 7.875 kB / 4.313 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003911/10.78, allocations: 2.611 MB / 4.316 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/10.78, allocations: 2.781 kB / 4.316 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/10.79, allocations: 247.9 kB / 4.316 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-05/10.79, allocations: 10.83 kB / 4.316 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.259e-05/10.79, allocations: 29.69 kB / 4.316 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003821/10.79, allocations: 1.187 MB / 4.317 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/10.79, allocations: 10.78 kB / 4.317 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002271/10.79, allocations: 1.905 MB / 4.319 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007046/10.79, allocations: 378 kB / 4.32 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/10.79, allocations: 28.97 kB / 4.32 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/10.79, allocations: 137 kB / 4.32 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/10.79, allocations: 72.83 kB / 4.32 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.333e-05/10.79, allocations: 46.53 kB / 4.32 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001171/10.79, allocations: 0.8789 MB / 4.321 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.21e-07/10.79, allocations: 0 / 4.321 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003368/10.8, allocations: 1.038 MB / 4.322 GB, free: 111 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[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 (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.003517/10.8, allocations: 2.147 MB / 4.324 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003175/10.8, allocations: 1.806 MB / 4.326 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/10.8, allocations: 5.75 kB / 4.326 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008722/10.8, allocations: 0.5148 MB / 4.326 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003537/10.81, allocations: 0.6845 MB / 4.327 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/10.81, allocations: 2.039 MB / 4.329 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006743/10.81, allocations: 1.279 MB / 4.33 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002569/10.81, allocations: 0.5023 MB / 4.331 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003264/10.81, allocations: 103 kB / 4.331 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.352e-06/10.81, allocations: 0 / 4.331 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.07791/10.89, allocations: 56.62 MB / 4.386 GB, free: 105.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches