Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.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.PlateHeatExchangerEffectivenessNTUPControl,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.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,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.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.743/2.743, allocations: 393.5 MB / 408.5 MB, free: 11.02 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.001152/0.001152, allocations: 176 kB / 0.4902 GB, free: 2.254 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.587/1.587, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001046/0.001046, allocations: 90.56 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.000376, allocations: 11.16 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3395, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.211/1.551, allocations: 424.6 MB / 1.644 GB, free: 4.625 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/1.551, allocations: 95.39 kB / 1.644 GB, free: 4.574 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.074/3.625, allocations: 0.6298 GB / 2.274 GB, free: 46.61 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.893e-06/3.625, allocations: 4 kB / 2.274 GB, free: 46.61 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002671/3.625, allocations: 43.92 kB / 2.274 GB, free: 46.57 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.006924/3.632, allocations: 2.113 MB / 2.276 GB, free: 44.39 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/3.632, allocations: 8.031 kB / 2.276 GB, free: 44.38 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/3.634, allocations: 385.7 kB / 2.276 GB, free: 44 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0288/3.663, allocations: 13.77 MB / 2.29 GB, free: 30.06 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007108/3.664, allocations: 206.3 kB / 2.29 GB, free: 29.85 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004712/3.664, allocations: 104 kB / 2.29 GB, free: 29.75 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002983/3.667, allocations: 1.134 MB / 2.291 GB, free: 28.57 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/3.667, allocations: 7.891 kB / 2.291 GB, free: 28.57 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/3.668, allocations: 36 kB / 2.291 GB, free: 28.53 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.828e-05/3.668, allocations: 37.98 kB / 2.291 GB, free: 28.49 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002664/3.67, allocations: 1.074 MB / 2.292 GB, free: 27.42 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.009861/3.68, allocations: 4.848 MB / 2.297 GB, free: 22.29 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00237/3.683, allocations: 0.9236 MB / 2.298 GB, free: 21.36 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/3.684, allocations: 1.06 MB / 2.299 GB, free: 20.08 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001288/3.685, allocations: 0.5552 MB / 2.299 GB, free: 19.51 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 5.22e-06/3.685, allocations: 0 / 2.299 GB, free: 19.51 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.004189/3.689, allocations: 1.425 MB / 2.301 GB, free: 18.08 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/3.689, allocations: 115.4 kB / 2.301 GB, free: 17.94 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002465/3.692, allocations: 1.051 MB / 2.302 GB, free: 16.88 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002327/3.692, allocations: 45.7 kB / 2.302 GB, free: 16.83 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007409/3.693, allocations: 0.588 MB / 2.303 GB, free: 16.23 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000259/3.693, allocations: 256.3 kB / 2.303 GB, free: 15.98 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.32e-05/3.693, allocations: 16 kB / 2.303 GB, free: 15.96 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000124/3.693, allocations: 341.9 kB / 2.303 GB, free: 15.62 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/3.695, allocations: 461.7 kB / 2.304 GB, free: 15.18 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/3.696, allocations: 0.7169 MB / 2.304 GB, free: 14.36 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/3.697, allocations: 0.5296 MB / 2.305 GB, free: 13.82 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/3.697, allocations: 3.938 kB / 2.305 GB, free: 13.82 MB / 1.167 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003208/3.701, allocations: 1.337 MB / 2.306 GB, free: 12.47 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004357/3.701, allocations: 1.616 MB / 2.308 GB, free: 10.75 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/3.701, allocations: 7.953 kB / 2.308 GB, free: 10.74 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.186e-05/3.701, allocations: 11.94 kB / 2.308 GB, free: 10.73 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/3.703, allocations: 311.5 kB / 2.308 GB, free: 10.42 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005763/3.703, allocations: 1.199 MB / 2.309 GB, free: 9.176 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/3.705, allocations: 218.8 kB / 2.309 GB, free: 8.961 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/3.705, allocations: 55.97 kB / 2.31 GB, free: 8.906 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/3.705, allocations: 9.25 kB / 2.31 GB, free: 8.898 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002638/3.708, allocations: 1.192 MB / 2.311 GB, free: 7.703 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/3.708, allocations: 4 kB / 2.311 GB, free: 7.699 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/3.708, allocations: 8 kB / 2.311 GB, free: 7.691 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/3.709, allocations: 295.8 kB / 2.311 GB, free: 7.402 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/3.709, allocations: 11.98 kB / 2.311 GB, free: 7.391 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/3.711, allocations: 195 kB / 2.311 GB, free: 7.199 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/3.711, allocations: 55.95 kB / 2.311 GB, free: 7.145 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (120): * Single equations (assignments): 117 * 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.0008712/3.712, allocations: 381.5 kB / 2.312 GB, free: 6.762 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004676/3.712, allocations: 146.2 kB / 2.312 GB, free: 6.617 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0032/3.716, allocations: 1.344 MB / 2.313 GB, free: 5.27 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/3.716, allocations: 8 kB / 2.313 GB, free: 5.262 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/3.716, allocations: 0 / 2.313 GB, free: 5.262 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.629e-06/3.716, allocations: 3.984 kB / 2.313 GB, free: 5.258 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005167/3.721, allocations: 2.615 MB / 2.316 GB, free: 2.555 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/3.721, allocations: 0 / 2.316 GB, free: 2.555 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/3.722, allocations: 239.9 kB / 2.316 GB, free: 2.32 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.531e-05/3.722, allocations: 8 kB / 2.316 GB, free: 2.312 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.124e-05/3.722, allocations: 27.98 kB / 2.316 GB, free: 2.285 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004169/3.723, allocations: 1.188 MB / 2.317 GB, free: 1.051 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/3.723, allocations: 0 / 2.317 GB, free: 1.051 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8294/4.552, allocations: 2.056 MB / 2.319 GB, free: 241.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/4.553, allocations: 359.2 kB / 2.319 GB, free: 241 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/4.554, allocations: 19.33 kB / 2.319 GB, free: 241 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/4.555, allocations: 144.4 kB / 2.32 GB, free: 241 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/4.555, allocations: 78.5 kB / 2.32 GB, free: 241 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/4.555, allocations: 37.02 kB / 2.32 GB, free: 241 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001396/4.557, allocations: 0.7984 MB / 2.32 GB, free: 240.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.01e-07/4.557, allocations: 0 / 2.32 GB, free: 240.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003287/4.56, allocations: 0.8362 MB / 2.321 GB, free: 240.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.002365/4.562, allocations: 0.848 MB / 2.322 GB, free: 240.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005467/4.568, allocations: 1.897 MB / 2.324 GB, free: 240.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.996e-06/4.568, allocations: 0 / 2.324 GB, free: 240.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001692/4.569, allocations: 0.5952 MB / 2.325 GB, free: 240.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003919/4.573, allocations: 0.5797 MB / 2.325 GB, free: 240.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007276/4.581, allocations: 2.991 MB / 2.328 GB, free: 239.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/4.582, allocations: 1.201 MB / 2.329 GB, free: 238.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002579/4.585, allocations: 356.6 kB / 2.33 GB, free: 238.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004392/4.585, allocations: 122.8 kB / 2.33 GB, free: 238.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.974e-06/4.585, allocations: 0 / 2.33 GB, free: 238.7 MB / 1.167 GB Notification: Performance of Templates: time 0.06632/4.651, allocations: 30.09 MB / 2.359 GB, free: 238.2 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches