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.332/2.332, allocations: 390.3 MB / 402.8 MB, free: 6.723 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.00151/0.00151, allocations: 180.8 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.816/1.816, allocations: 221.3 MB / 0.7915 GB, free: 5.426 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.001162/0.001163, allocations: 83.95 kB / 0.9317 GB, free: 5.742 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.729e-05/4.732e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3897, allocations: 143 MB / 1.219 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.347/1.737, allocations: 424.6 MB / 1.633 GB, free: 9.898 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/1.737, allocations: 88.64 kB / 1.633 GB, free: 9.855 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 3.052/4.79, allocations: 0.628 GB / 2.261 GB, free: 264.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.422e-06/4.79, allocations: 0 / 2.261 GB, free: 264.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002664/4.79, allocations: 44.06 kB / 2.261 GB, free: 264.8 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.005713/4.796, allocations: 1.818 MB / 2.263 GB, free: 263.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/4.796, allocations: 10.34 kB / 2.263 GB, free: 263.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/4.798, allocations: 394.7 kB / 2.264 GB, free: 263.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03065/4.829, allocations: 13.68 MB / 2.277 GB, free: 263 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000725/4.829, allocations: 217.5 kB / 2.277 GB, free: 263 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000513/4.83, allocations: 102.7 kB / 2.277 GB, free: 263 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002482/4.832, allocations: 0.9951 MB / 2.278 GB, free: 262.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/4.833, allocations: 0 / 2.278 GB, free: 262.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/4.833, allocations: 38.72 kB / 2.278 GB, free: 262.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.301e-05/4.833, allocations: 40.73 kB / 2.278 GB, free: 262.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/4.834, allocations: 0.7928 MB / 2.279 GB, free: 262.8 MB / 1.167 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.009242/4.844, allocations: 4.846 MB / 2.284 GB, free: 260.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/4.845, allocations: 0.6324 MB / 2.284 GB, free: 260.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004987/4.845, allocations: 342.6 kB / 2.285 GB, free: 260.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009799/4.846, allocations: 1.06 MB / 2.286 GB, free: 259.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007227/4.847, allocations: 427 kB / 2.286 GB, free: 259.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 2.795e-06/4.847, allocations: 0 / 2.286 GB, free: 259.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.001833/4.849, allocations: 0.7722 MB / 2.287 GB, free: 259.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/4.849, allocations: 114.7 kB / 2.287 GB, free: 259.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/4.851, allocations: 1.033 MB / 2.288 GB, free: 259.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001687/4.851, allocations: 45.89 kB / 2.288 GB, free: 259.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006128/4.851, allocations: 0.5877 MB / 2.289 GB, free: 258.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/4.852, allocations: 254.8 kB / 2.289 GB, free: 258.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.384e-05/4.852, allocations: 22.25 kB / 2.289 GB, free: 258.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.089e-05/4.852, allocations: 341.1 kB / 2.289 GB, free: 258.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005346/4.852, allocations: 315 kB / 2.29 GB, free: 258.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007517/4.853, allocations: 0.58 MB / 2.29 GB, free: 257.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006293/4.854, allocations: 402 kB / 2.291 GB, free: 257.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/4.854, allocations: 6.312 kB / 2.291 GB, free: 257.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001902/4.856, allocations: 1.056 MB / 2.292 GB, free: 257.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003829/4.856, allocations: 1.634 MB / 2.293 GB, free: 255.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/4.856, allocations: 3.656 kB / 2.293 GB, free: 255.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.67e-05/4.856, allocations: 11.61 kB / 2.293 GB, free: 255.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/4.858, allocations: 310.8 kB / 2.294 GB, free: 255.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005564/4.858, allocations: 1.195 MB / 2.295 GB, free: 254.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/4.86, allocations: 213.9 kB / 2.295 GB, free: 254.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/4.86, allocations: 51.47 kB / 2.295 GB, free: 254.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/4.86, allocations: 7.922 kB / 2.295 GB, free: 254.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001432/4.862, allocations: 0.9229 MB / 2.296 GB, free: 253.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/4.862, allocations: 7.781 kB / 2.296 GB, free: 253.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/4.862, allocations: 14.31 kB / 2.296 GB, free: 253.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/4.863, allocations: 291.4 kB / 2.296 GB, free: 253.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/4.863, allocations: 14.19 kB / 2.296 GB, free: 253.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/4.864, allocations: 201.2 kB / 2.296 GB, free: 253.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/4.864, allocations: 51.28 kB / 2.296 GB, free: 253.8 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 () * 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.0002695/4.865, allocations: 159.9 kB / 2.297 GB, free: 253.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/4.865, allocations: 150.1 kB / 2.297 GB, free: 253.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/4.867, allocations: 1.064 MB / 2.298 GB, free: 253.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/4.867, allocations: 10.03 kB / 2.298 GB, free: 253.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/4.867, allocations: 0 / 2.298 GB, free: 253.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/4.867, allocations: 7.406 kB / 2.298 GB, free: 253.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003333/4.87, allocations: 2.344 MB / 2.3 GB, free: 252 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/4.87, allocations: 3.812 kB / 2.3 GB, free: 252 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009988/4.871, allocations: 226.1 kB / 2.3 GB, free: 252 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/4.871, allocations: 3.844 kB / 2.3 GB, free: 252 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.775e-05/4.871, allocations: 34.3 kB / 2.3 GB, free: 252 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004338/4.872, allocations: 1.189 MB / 2.301 GB, free: 250.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/4.872, allocations: 7.172 kB / 2.301 GB, free: 250.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/4.874, allocations: 1.64 MB / 2.303 GB, free: 249.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006049/4.874, allocations: 366.4 kB / 2.303 GB, free: 249.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/4.875, allocations: 19.16 kB / 2.303 GB, free: 249.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/4.876, allocations: 140.6 kB / 2.304 GB, free: 249.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/4.876, allocations: 70.92 kB / 2.304 GB, free: 249.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.262e-05/4.876, allocations: 40.94 kB / 2.304 GB, free: 249.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001008/4.877, allocations: 0.7799 MB / 2.304 GB, free: 249.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.51e-07/4.877, allocations: 0 / 2.304 GB, free: 249.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002773/4.88, allocations: 0.8484 MB / 2.305 GB, free: 249.1 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) * 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.001748/4.882, allocations: 0.8436 MB / 2.306 GB, free: 248.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002786/4.884, allocations: 1.529 MB / 2.308 GB, free: 248.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/4.884, allocations: 0 / 2.308 GB, free: 248.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007718/4.885, allocations: 474.7 kB / 2.308 GB, free: 248.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/4.888, allocations: 0.5827 MB / 2.309 GB, free: 247.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003697/4.892, allocations: 1.84 MB / 2.31 GB, free: 247.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006026/4.892, allocations: 1.2 MB / 2.312 GB, free: 246.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002067/4.895, allocations: 425.6 kB / 2.312 GB, free: 246.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003008/4.895, allocations: 110.6 kB / 2.312 GB, free: 246.4 MB / 1.167 GB Notification: Performance of SimCode: time 2.435e-06/4.895, allocations: 0 / 2.312 GB, free: 246.4 MB / 1.167 GB Notification: Performance of Templates: time 0.05738/4.952, allocations: 33.07 MB / 2.344 GB, free: 235.9 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