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.583/2.583, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001463/0.001464, allocations: 165.1 kB / 498.1 MB, free: 5.742 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.645/1.645, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0009993/0.0009993, allocations: 84.34 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004144, allocations: 10.84 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3345, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.051/5.385, allocations: 2.186 GB / 3.409 GB, free: 243.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/5.386, allocations: 99.06 kB / 3.409 GB, free: 243.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.068/8.454, allocations: 0.9551 GB / 4.364 GB, free: 181.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.643e-06/8.454, allocations: 3.938 kB / 4.364 GB, free: 181.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002461/8.454, allocations: 47.98 kB / 4.364 GB, free: 181.1 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00796/8.462, allocations: 2.374 MB / 4.366 GB, free: 178.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/8.462, allocations: 8.031 kB / 4.366 GB, free: 178.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00332/8.466, allocations: 0.5559 MB / 4.367 GB, free: 178.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004131/8.47, allocations: 1.375 MB / 4.368 GB, free: 176.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006485/8.47, allocations: 222.3 kB / 4.368 GB, free: 176.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000396/8.471, allocations: 108 kB / 4.369 GB, free: 176.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002927/8.474, allocations: 1.383 MB / 4.37 GB, free: 174.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/8.474, allocations: 0 / 4.37 GB, free: 174.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/8.474, allocations: 36 kB / 4.37 GB, free: 174.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-05/8.474, allocations: 49.94 kB / 4.37 GB, free: 174.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002996/8.477, allocations: 1.355 MB / 4.371 GB, free: 173.5 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01033/8.487, allocations: 5.514 MB / 4.377 GB, free: 167.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002658/8.49, allocations: 1.149 MB / 4.378 GB, free: 166.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009383/8.491, allocations: 0.7474 MB / 4.379 GB, free: 165.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001521/8.493, allocations: 0.6679 MB / 4.379 GB, free: 164.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 4.629e-06/8.493, allocations: 0 / 4.379 GB, free: 164.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=82): time 0.00454/8.497, allocations: 1.742 MB / 4.381 GB, free: 163.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/8.497, allocations: 111.5 kB / 4.381 GB, free: 163 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/8.499, allocations: 1.154 MB / 4.382 GB, free: 161.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000192/8.499, allocations: 49.7 kB / 4.382 GB, free: 161.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005199/8.5, allocations: 0.6275 MB / 4.383 GB, free: 161.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/8.5, allocations: 283.9 kB / 4.383 GB, free: 160.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-05/8.5, allocations: 24 kB / 4.383 GB, free: 160.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.654e-05/8.5, allocations: 353.9 kB / 4.383 GB, free: 160.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/8.502, allocations: 0.5413 MB / 4.384 GB, free: 160 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/8.503, allocations: 0.8521 MB / 4.385 GB, free: 159 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/8.504, allocations: 0.6254 MB / 4.385 GB, free: 158.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/8.504, allocations: 3.938 kB / 4.385 GB, free: 158.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003608/8.508, allocations: 1.567 MB / 4.387 GB, free: 156.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000422/8.509, allocations: 1.909 MB / 4.389 GB, free: 154.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/8.509, allocations: 8 kB / 4.389 GB, free: 154.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.418e-05/8.509, allocations: 8 kB / 4.389 GB, free: 154.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/8.51, allocations: 351.5 kB / 4.389 GB, free: 154.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00057/8.511, allocations: 1.199 MB / 4.39 GB, free: 153.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/8.513, allocations: 250.6 kB / 4.391 GB, free: 152.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/8.513, allocations: 59.97 kB / 4.391 GB, free: 152.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/8.513, allocations: 4 kB / 4.391 GB, free: 152.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003213/8.517, allocations: 1.403 MB / 4.392 GB, free: 151.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/8.517, allocations: 7.953 kB / 4.392 GB, free: 151.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/8.517, allocations: 12 kB / 4.392 GB, free: 151.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/8.518, allocations: 339.7 kB / 4.392 GB, free: 151.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/8.518, allocations: 12 kB / 4.392 GB, free: 151.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/8.52, allocations: 226.8 kB / 4.393 GB, free: 150.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/8.52, allocations: 63.95 kB / 4.393 GB, free: 150.8 MB / 1.167 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 () * Number of clocked 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.0008721/8.521, allocations: 413.5 kB / 4.393 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004711/8.522, allocations: 158.1 kB / 4.393 GB, free: 150.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003349/8.525, allocations: 1.439 MB / 4.395 GB, free: 148.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/8.525, allocations: 8 kB / 4.395 GB, free: 148.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/8.525, allocations: 0 / 4.395 GB, free: 148.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/8.525, allocations: 3.984 kB / 4.395 GB, free: 148.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005869/8.531, allocations: 2.971 MB / 4.397 GB, free: 145.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/8.531, allocations: 4 kB / 4.398 GB, free: 145.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/8.532, allocations: 263.9 kB / 4.398 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/8.532, allocations: 8 kB / 4.398 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-05/8.532, allocations: 27.98 kB / 4.398 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000384/8.533, allocations: 1.184 MB / 4.399 GB, free: 144.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/8.533, allocations: 8.188 kB / 4.399 GB, free: 144.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004386/8.537, allocations: 2.413 MB / 4.401 GB, free: 141.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009872/8.538, allocations: 374.8 kB / 4.402 GB, free: 141.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004254/8.538, allocations: 39.94 kB / 4.402 GB, free: 141.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/8.54, allocations: 135.8 kB / 4.402 GB, free: 141 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/8.54, allocations: 76.5 kB / 4.402 GB, free: 141 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.589e-05/8.54, allocations: 39.97 kB / 4.402 GB, free: 140.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001334/8.542, allocations: 0.89 MB / 4.403 GB, free: 140 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.91e-07/8.542, allocations: 0 / 4.403 GB, free: 140 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003233/8.545, allocations: 0.991 MB / 4.404 GB, free: 139 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: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * 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.003201/8.548, allocations: 2.106 MB / 4.406 GB, free: 136.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005121/8.553, allocations: 2.19 MB / 4.408 GB, free: 134.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/8.553, allocations: 0 / 4.408 GB, free: 134.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001536/8.555, allocations: 0.6844 MB / 4.409 GB, free: 134 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003383/8.558, allocations: 0.6736 MB / 4.409 GB, free: 133.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005587/8.564, allocations: 3.262 MB / 4.412 GB, free: 130 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007007/8.565, allocations: 1.255 MB / 4.414 GB, free: 128.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002203/8.567, allocations: 427.7 kB / 4.414 GB, free: 128.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004529/8.567, allocations: 131.3 kB / 4.414 GB, free: 128.1 MB / 1.167 GB Notification: Performance of SimCode: time 9.92e-07/8.567, allocations: 0 / 4.414 GB, free: 128.1 MB / 1.167 GB Notification: Performance of Templates: time 0.06353/8.631, allocations: 48.71 MB / 4.462 GB, free: 79.73 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