Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.TRoo|con.port_a.m_flow|con.mAir_flow|con.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.TRoo|con.port_a.m_flow|con.mAir_flow|con.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.308/2.308, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.00126/0.00126, allocations: 185.4 kB / 498.1 MB, free: 5.738 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.537/1.537, allocations: 223.2 MB / 0.7949 GB, free: 18.87 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.0009284/0.0009283, allocations: 96.03 kB / 0.9346 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003361, allocations: 9.344 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3039, allocations: 142.3 MB / 1.223 GB, free: 89.56 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.141/1.445, allocations: 424.5 MB / 1.637 GB, free: 8.508 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003392/1.446, allocations: 108.2 kB / 1.638 GB, free: 8.445 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.322/2.767, allocations: 370.1 MB / 1.999 GB, free: 317.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.364e-06/2.767, allocations: 4 kB / 1.999 GB, free: 317.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001845/2.768, allocations: 24 kB / 1.999 GB, free: 317.5 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.004142/2.772, allocations: 1.644 MB / 2.001 GB, free: 315.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/2.772, allocations: 8.031 kB / 2.001 GB, free: 315.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006334/2.773, allocations: 134.5 kB / 2.001 GB, free: 315.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002729/2.775, allocations: 1.189 MB / 2.002 GB, free: 314.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.29e-05/2.775, allocations: 53.25 kB / 2.002 GB, free: 314.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/2.776, allocations: 68 kB / 2.002 GB, free: 314.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/2.777, allocations: 0.798 MB / 2.003 GB, free: 313.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/2.777, allocations: 0 / 2.003 GB, free: 313.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-05/2.777, allocations: 30.03 kB / 2.003 GB, free: 313.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.385e-05/2.777, allocations: 19.95 kB / 2.003 GB, free: 313.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/2.778, allocations: 0.6181 MB / 2.003 GB, free: 312.8 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.004264/2.782, allocations: 3.114 MB / 2.006 GB, free: 309.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006566/2.783, allocations: 447.5 kB / 2.007 GB, free: 309.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006477/2.784, allocations: 0.7702 MB / 2.008 GB, free: 308.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/2.784, allocations: 38.78 kB / 2.008 GB, free: 308.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=37): time 2.896e-06/2.784, allocations: 0 / 2.008 GB, free: 308.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=37): time 0.001702/2.786, allocations: 1.246 MB / 2.009 GB, free: 306.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/2.786, allocations: 140.8 kB / 2.009 GB, free: 306.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/2.787, allocations: 0.976 MB / 2.01 GB, free: 305.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.241e-05/2.787, allocations: 41.7 kB / 2.01 GB, free: 305.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003675/2.788, allocations: 468.6 kB / 2.01 GB, free: 305.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/2.788, allocations: 134.5 kB / 2.011 GB, free: 305.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/2.788, allocations: 12 kB / 2.011 GB, free: 305 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.359e-05/2.788, allocations: 322 kB / 2.011 GB, free: 304.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004299/2.788, allocations: 336.8 kB / 2.011 GB, free: 304.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000489/2.789, allocations: 452 kB / 2.012 GB, free: 303.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005228/2.789, allocations: 0.5267 MB / 2.012 GB, free: 303.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/2.789, allocations: 0 / 2.012 GB, free: 303.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001355/2.791, allocations: 1.08 MB / 2.013 GB, free: 302.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002258/2.791, allocations: 0.881 MB / 2.014 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/2.791, allocations: 0 / 2.014 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/2.791, allocations: 8 kB / 2.014 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/2.791, allocations: 87.81 kB / 2.014 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/2.791, allocations: 4 kB / 2.014 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008132/2.792, allocations: 107.2 kB / 2.014 GB, free: 301.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-05/2.792, allocations: 27.98 kB / 2.014 GB, free: 301 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/2.792, allocations: 4 kB / 2.014 GB, free: 301 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001216/2.793, allocations: 1.076 MB / 2.015 GB, free: 299.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/2.793, allocations: 0 / 2.015 GB, free: 299.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.59e-06/2.793, allocations: 8 kB / 2.015 GB, free: 299.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/2.794, allocations: 88.11 kB / 2.015 GB, free: 299.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/2.794, allocations: 4 kB / 2.015 GB, free: 299.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007022/2.794, allocations: 99.33 kB / 2.016 GB, free: 299.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.736e-05/2.795, allocations: 27.98 kB / 2.016 GB, free: 299.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006232/2.795, allocations: 485.8 kB / 2.016 GB, free: 299.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002255/2.795, allocations: 106.7 kB / 2.016 GB, free: 299.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/2.797, allocations: 0.909 MB / 2.017 GB, free: 298.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/2.797, allocations: 4 kB / 2.017 GB, free: 298.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/2.797, allocations: 7.812 kB / 2.017 GB, free: 298.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008885/2.798, allocations: 0.9874 MB / 2.018 GB, free: 297.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/2.801, allocations: 2.118 MB / 2.02 GB, free: 294.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/2.801, allocations: 4 kB / 2.02 GB, free: 294.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/2.801, allocations: 63.91 kB / 2.02 GB, free: 294.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/2.801, allocations: 4 kB / 2.02 GB, free: 294.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/2.801, allocations: 19.98 kB / 2.02 GB, free: 294.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/2.801, allocations: 4 kB / 2.02 GB, free: 294.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/2.801, allocations: 4.25 kB / 2.02 GB, free: 294.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/2.803, allocations: 1.523 MB / 2.022 GB, free: 293.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005569/2.803, allocations: 295.5 kB / 2.022 GB, free: 292.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002425/2.803, allocations: 12 kB / 2.022 GB, free: 292.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006029/2.804, allocations: 48.03 kB / 2.022 GB, free: 292.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/2.804, allocations: 55.83 kB / 2.022 GB, free: 292.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.672e-05/2.804, allocations: 24 kB / 2.022 GB, free: 292.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001123/2.805, allocations: 0.7806 MB / 2.023 GB, free: 291.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/2.805, allocations: 0 / 2.023 GB, free: 291.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001978/2.807, allocations: 0.581 MB / 2.023 GB, free: 291.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.watFlo_mod.i,con.mod.temDif_mod.i,con.mod.airFlo_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001667/2.809, allocations: 0.7571 MB / 2.024 GB, free: 290.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001904/2.811, allocations: 1.916 MB / 2.026 GB, free: 288.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/2.811, allocations: 0 / 2.026 GB, free: 288.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005716/2.812, allocations: 0.5538 MB / 2.027 GB, free: 288 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/2.814, allocations: 497.3 kB / 2.027 GB, free: 287.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003328/2.817, allocations: 2.291 MB / 2.029 GB, free: 285.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000634/2.818, allocations: 1.091 MB / 2.03 GB, free: 284 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008822/2.819, allocations: 211.5 kB / 2.031 GB, free: 283.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/2.819, allocations: 75.42 kB / 2.031 GB, free: 283.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.112e-06/2.819, allocations: 0 / 2.031 GB, free: 283.7 MB / 1.167 GB Notification: Performance of Templates: time 0.03543/2.854, allocations: 25.66 MB / 2.056 GB, free: 258.4 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches