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.358/1.358, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 175 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.000934/0.000934, allocations: 94.23 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003152, allocations: 11.91 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1756, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.516/4.691, allocations: 2.475 GB / 3.375 GB, free: 79.11 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/4.692, allocations: 95.95 kB / 3.375 GB, free: 79.01 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.951/7.643, allocations: 0.9209 GB / 4.296 GB, free: 131.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.923e-06/7.643, allocations: 0 / 4.296 GB, free: 131.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001639/7.643, allocations: 48.17 kB / 4.296 GB, free: 131.2 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.006428/7.649, allocations: 2.4 MB / 4.299 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/7.649, allocations: 8.094 kB / 4.299 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003044/7.652, allocations: 0.5494 MB / 4.299 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003252/7.656, allocations: 1.42 MB / 4.301 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006289/7.656, allocations: 221.5 kB / 4.301 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000257/7.657, allocations: 113.9 kB / 4.301 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002597/7.659, allocations: 1.4 MB / 4.302 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/7.659, allocations: 7.5 kB / 4.302 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/7.659, allocations: 40.44 kB / 4.302 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.251e-05/7.659, allocations: 42.59 kB / 4.302 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002924/7.662, allocations: 1.385 MB / 4.304 GB, free: 129.1 MB / 0.8855 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.009048/7.671, allocations: 5.444 MB / 4.309 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/7.674, allocations: 1.113 MB / 4.31 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008587/7.675, allocations: 0.7514 MB / 4.311 GB, free: 126 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001362/7.676, allocations: 0.6468 MB / 4.311 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=81): time 3.066e-06/7.676, allocations: 0 / 4.311 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=81): time 0.00411/7.68, allocations: 1.696 MB / 4.313 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/7.68, allocations: 191.1 kB / 4.313 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/7.682, allocations: 1.175 MB / 4.314 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001871/7.682, allocations: 46.98 kB / 4.314 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004635/7.683, allocations: 0.6428 MB / 4.315 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/7.683, allocations: 283.7 kB / 4.315 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.289e-05/7.683, allocations: 23.34 kB / 4.315 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.853e-05/7.683, allocations: 342.2 kB / 4.316 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/7.684, allocations: 0.5485 MB / 4.316 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/7.686, allocations: 0.8691 MB / 4.317 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/7.687, allocations: 0.6431 MB / 4.318 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/7.687, allocations: 0 / 4.318 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003241/7.69, allocations: 1.572 MB / 4.319 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003558/7.69, allocations: 1.909 MB / 4.321 GB, free: 122 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/7.691, allocations: 9.75 kB / 4.321 GB, free: 122 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/7.691, allocations: 9.781 kB / 4.321 GB, free: 122 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/7.692, allocations: 340.6 kB / 4.321 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000485/7.693, allocations: 1.198 MB / 4.323 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/7.695, allocations: 246.2 kB / 4.323 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/7.695, allocations: 59.05 kB / 4.323 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/7.695, allocations: 3.938 kB / 4.323 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002828/7.698, allocations: 1.409 MB / 4.324 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/7.698, allocations: 5.875 kB / 4.324 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/7.698, allocations: 9.906 kB / 4.324 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/7.699, allocations: 323.5 kB / 4.325 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/7.699, allocations: 17.88 kB / 4.325 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/7.701, allocations: 222 kB / 4.325 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/7.701, allocations: 57.72 kB / 4.325 GB, free: 120.5 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 () * Number of clocked 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.0007873/7.702, allocations: 425.2 kB / 4.325 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002981/7.702, allocations: 156.7 kB / 4.325 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002941/7.705, allocations: 1.4 MB / 4.327 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/7.705, allocations: 6.344 kB / 4.327 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/7.705, allocations: 4 kB / 4.327 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/7.705, allocations: 5.109 kB / 4.327 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004919/7.71, allocations: 2.915 MB / 4.33 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/7.71, allocations: 3.688 kB / 4.33 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/7.711, allocations: 243.5 kB / 4.33 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.719e-06/7.711, allocations: 7.344 kB / 4.33 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.582e-05/7.711, allocations: 44.67 kB / 4.33 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003837/7.712, allocations: 1.183 MB / 4.331 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/7.712, allocations: 1.531 kB / 4.331 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003992/7.716, allocations: 2.376 MB / 4.333 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007501/7.716, allocations: 372.7 kB / 4.334 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/7.716, allocations: 23.11 kB / 4.334 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/7.718, allocations: 145.2 kB / 4.334 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/7.718, allocations: 80.61 kB / 4.334 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.214e-05/7.718, allocations: 42.8 kB / 4.334 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001168/7.719, allocations: 0.8936 MB / 4.335 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/7.719, allocations: 0 / 4.335 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003019/7.722, allocations: 1.036 MB / 4.336 GB, free: 115.8 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) * Number of clocked states: 0 () * 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.003043/7.725, allocations: 2.151 MB / 4.338 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004807/7.73, allocations: 2.237 MB / 4.34 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/7.73, allocations: 0 / 4.34 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001437/7.732, allocations: 0.6645 MB / 4.341 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/7.735, allocations: 0.6827 MB / 4.342 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004854/7.74, allocations: 3.244 MB / 4.345 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005547/7.74, allocations: 1.271 MB / 4.346 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001913/7.742, allocations: 420.4 kB / 4.346 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000371/7.742, allocations: 126.8 kB / 4.346 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of SimCode: time 8.61e-07/7.742, allocations: 0 / 4.346 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.06113/7.804, allocations: 49.66 MB / 4.395 GB, free: 58.71 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