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.299/2.299, allocations: 390.5 MB / 398 MB, free: 10.98 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.001299/0.001298, allocations: 176.9 kB / 491.2 MB, free: 1.629 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.873/1.873, 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.001308/0.001308, allocations: 95.52 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.121e-05/3.124e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3635, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.381/1.745, allocations: 423.9 MB / 1.626 GB, free: 6.836 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/1.745, allocations: 92.41 kB / 1.626 GB, free: 6.789 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.751/4.496, allocations: 0.6248 GB / 2.251 GB, free: 246 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.705e-06/4.496, allocations: 1.312 kB / 2.251 GB, free: 246 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002034/4.496, allocations: 43.66 kB / 2.251 GB, free: 246 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004516/4.5, allocations: 1.821 MB / 2.253 GB, free: 245.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/4.501, allocations: 11.72 kB / 2.253 GB, free: 245.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/4.502, allocations: 397 kB / 2.253 GB, free: 245.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02658/4.529, allocations: 13.63 MB / 2.267 GB, free: 244.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006345/4.529, allocations: 166.3 kB / 2.267 GB, free: 244.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/4.53, allocations: 61.06 kB / 2.267 GB, free: 244.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001359/4.531, allocations: 0.7408 MB / 2.268 GB, free: 244.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/4.532, allocations: 0.8816 MB / 2.269 GB, free: 244.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/4.532, allocations: 0 / 2.269 GB, free: 244.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.217e-05/4.533, allocations: 10.39 kB / 2.269 GB, free: 244.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.393e-05/4.533, allocations: 31.34 kB / 2.269 GB, free: 244.3 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.007573/4.54, allocations: 4.656 MB / 2.273 GB, free: 242.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008237/4.541, allocations: 0.5942 MB / 2.274 GB, free: 242.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003916/4.541, allocations: 318.2 kB / 2.274 GB, free: 242.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009179/4.542, allocations: 1.055 MB / 2.275 GB, free: 241.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006262/4.543, allocations: 412.5 kB / 2.275 GB, free: 241.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 3.376e-06/4.543, allocations: 1.594 kB / 2.275 GB, free: 241.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.002073/4.545, allocations: 0.8142 MB / 2.276 GB, free: 241.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/4.545, allocations: 115 kB / 2.276 GB, free: 240.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/4.546, allocations: 0.8513 MB / 2.277 GB, free: 240.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.954e-05/4.546, allocations: 29.64 kB / 2.277 GB, free: 240.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004662/4.547, allocations: 0.5897 MB / 2.278 GB, free: 240.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/4.547, allocations: 246.8 kB / 2.278 GB, free: 240.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/4.547, allocations: 0 / 2.278 GB, free: 240.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.959e-05/4.547, allocations: 344.2 kB / 2.278 GB, free: 240.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004299/4.548, allocations: 303.2 kB / 2.279 GB, free: 240.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006267/4.548, allocations: 0.554 MB / 2.279 GB, free: 239.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/4.549, allocations: 447.4 kB / 2.28 GB, free: 239.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/4.549, allocations: 0 / 2.28 GB, free: 239.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001995/4.551, allocations: 1.039 MB / 2.281 GB, free: 239.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003972/4.552, allocations: 1.616 MB / 2.282 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/4.552, allocations: 3.906 kB / 2.282 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/4.552, allocations: 13.59 kB / 2.282 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/4.553, allocations: 316.6 kB / 2.283 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005603/4.554, allocations: 1.207 MB / 2.284 GB, free: 236.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/4.555, allocations: 178.1 kB / 2.284 GB, free: 236.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/4.556, allocations: 57.66 kB / 2.284 GB, free: 236.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/4.556, allocations: 3.375 kB / 2.284 GB, free: 236.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001764/4.557, allocations: 0.8836 MB / 2.285 GB, free: 236.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/4.557, allocations: 3.906 kB / 2.285 GB, free: 236.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/4.557, allocations: 17.7 kB / 2.285 GB, free: 236.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/4.559, allocations: 286.6 kB / 2.285 GB, free: 236.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/4.559, allocations: 9.312 kB / 2.285 GB, free: 236.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/4.56, allocations: 168.3 kB / 2.285 GB, free: 236.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/4.56, allocations: 54.8 kB / 2.285 GB, free: 236.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (119): * Single equations (assignments): 116 * 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.0002789/4.56, allocations: 140.9 kB / 2.285 GB, free: 236.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/4.561, allocations: 126.1 kB / 2.286 GB, free: 236.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/4.563, allocations: 1.064 MB / 2.287 GB, free: 236.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/4.563, allocations: 19.66 kB / 2.287 GB, free: 236.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/4.563, allocations: 0 / 2.287 GB, free: 236.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/4.563, allocations: 7.734 kB / 2.287 GB, free: 236.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/4.567, allocations: 2.225 MB / 2.289 GB, free: 236.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/4.567, allocations: 3.688 kB / 2.289 GB, free: 236.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000989/4.568, allocations: 226.1 kB / 2.289 GB, free: 236.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/4.568, allocations: 9.375 kB / 2.289 GB, free: 236.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.117e-05/4.568, allocations: 19.23 kB / 2.289 GB, free: 236.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004262/4.568, allocations: 1.196 MB / 2.29 GB, free: 234.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/4.568, allocations: 0 / 2.29 GB, free: 234.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002512/4.571, allocations: 1.632 MB / 2.292 GB, free: 234.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000662/4.571, allocations: 357.4 kB / 2.292 GB, free: 234.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/4.571, allocations: 11.45 kB / 2.292 GB, free: 234.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/4.573, allocations: 121.4 kB / 2.292 GB, free: 234.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/4.573, allocations: 77.39 kB / 2.292 GB, free: 234.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-05/4.573, allocations: 38.59 kB / 2.292 GB, free: 234.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001003/4.574, allocations: 0.634 MB / 2.293 GB, free: 234.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/4.574, allocations: 0 / 2.293 GB, free: 234.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003111/4.577, allocations: 0.806 MB / 2.294 GB, free: 234.1 MB / 1.151 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) * 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.00184/4.579, allocations: 0.8509 MB / 2.295 GB, free: 233.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002645/4.581, allocations: 1.455 MB / 2.296 GB, free: 233.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/4.582, allocations: 3 kB / 2.296 GB, free: 233.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006565/4.582, allocations: 451.4 kB / 2.296 GB, free: 233.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/4.585, allocations: 460 kB / 2.297 GB, free: 233.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003569/4.588, allocations: 1.788 MB / 2.299 GB, free: 233.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005542/4.589, allocations: 1.204 MB / 2.3 GB, free: 232.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001868/4.591, allocations: 399.7 kB / 2.3 GB, free: 232.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/4.591, allocations: 95.8 kB / 2.3 GB, free: 232.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.082e-06/4.591, allocations: 0 / 2.3 GB, free: 232.4 MB / 1.151 GB Notification: Performance of Templates: time 0.04471/4.636, allocations: 26.68 MB / 2.326 GB, free: 231.9 MB / 1.151 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