Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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.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_latest_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_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.372/2.372, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001263/0.001262, allocations: 186.3 kB / 0.4902 GB, free: 2.266 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.658/1.658, allocations: 223.2 MB / 0.7992 GB, free: 14.7 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.001316/0.001316, allocations: 98.09 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004947/0.0004947, allocations: 10.31 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3136, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.416, allocations: 425.3 MB / 1.645 GB, free: 4.297 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/1.417, allocations: 107.8 kB / 1.645 GB, free: 4.238 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.358/2.775, allocations: 370.1 MB / 2.006 GB, free: 323.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.764e-06/2.775, allocations: 3.531 kB / 2.006 GB, free: 323.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001511/2.775, allocations: 27.36 kB / 2.006 GB, free: 323.4 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.003671/2.779, allocations: 1.643 MB / 2.008 GB, free: 321.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/2.779, allocations: 8.828 kB / 2.008 GB, free: 321.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006141/2.779, allocations: 137.7 kB / 2.008 GB, free: 321.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002655/2.782, allocations: 1.185 MB / 2.009 GB, free: 320.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-05/2.782, allocations: 49.31 kB / 2.009 GB, free: 320.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/2.782, allocations: 72 kB / 2.009 GB, free: 320.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/2.784, allocations: 0.7999 MB / 2.01 GB, free: 319.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/2.784, allocations: 0 / 2.01 GB, free: 319.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.349e-05/2.784, allocations: 24 kB / 2.01 GB, free: 319.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/2.784, allocations: 19.95 kB / 2.01 GB, free: 319.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/2.785, allocations: 0.6128 MB / 2.011 GB, free: 318.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.00419/2.789, allocations: 3.112 MB / 2.014 GB, free: 315.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006635/2.79, allocations: 463.2 kB / 2.014 GB, free: 315.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000625/2.791, allocations: 0.7618 MB / 2.015 GB, free: 314.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/2.791, allocations: 50.72 kB / 2.015 GB, free: 314.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=37): time 2.144e-06/2.791, allocations: 0 / 2.015 GB, free: 314.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=37): time 0.001661/2.792, allocations: 1.245 MB / 2.016 GB, free: 312.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/2.792, allocations: 140.8 kB / 2.016 GB, free: 312.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/2.794, allocations: 0.98 MB / 2.017 GB, free: 311.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.828e-05/2.794, allocations: 33.7 kB / 2.017 GB, free: 311.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/2.794, allocations: 478.7 kB / 2.018 GB, free: 311.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/2.794, allocations: 123.9 kB / 2.018 GB, free: 311 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/2.794, allocations: 8 kB / 2.018 GB, free: 311 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.01e-05/2.794, allocations: 322 kB / 2.018 GB, free: 310.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004369/2.795, allocations: 344.8 kB / 2.018 GB, free: 310.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/2.795, allocations: 440.1 kB / 2.019 GB, free: 309.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005342/2.796, allocations: 0.5336 MB / 2.019 GB, free: 309.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/2.796, allocations: 0 / 2.019 GB, free: 309.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001317/2.797, allocations: 1.088 MB / 2.02 GB, free: 308.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002176/2.797, allocations: 0.8717 MB / 2.021 GB, free: 307.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/2.797, allocations: 4 kB / 2.021 GB, free: 307.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/2.797, allocations: 4 kB / 2.021 GB, free: 307.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/2.798, allocations: 87.89 kB / 2.021 GB, free: 307.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/2.798, allocations: 7.984 kB / 2.021 GB, free: 307.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007302/2.799, allocations: 103.2 kB / 2.021 GB, free: 307 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.858e-05/2.799, allocations: 31.98 kB / 2.021 GB, free: 306.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/2.799, allocations: 0 / 2.021 GB, free: 306.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001217/2.8, allocations: 1.08 MB / 2.023 GB, free: 305.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/2.8, allocations: 7.25 kB / 2.023 GB, free: 305.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.999e-06/2.8, allocations: 4 kB / 2.023 GB, free: 305.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/2.8, allocations: 87.83 kB / 2.023 GB, free: 305.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/2.8, allocations: 8.156 kB / 2.023 GB, free: 305.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006473/2.801, allocations: 95.33 kB / 2.023 GB, free: 305.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.126e-05/2.801, allocations: 31.98 kB / 2.023 GB, free: 305.6 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.0005197/2.801, allocations: 476.1 kB / 2.023 GB, free: 305.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/2.802, allocations: 106.7 kB / 2.023 GB, free: 305 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/2.803, allocations: 0.9057 MB / 2.024 GB, free: 304.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/2.803, allocations: 7.984 kB / 2.024 GB, free: 304.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/2.803, allocations: 0 / 2.024 GB, free: 304.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009385/2.804, allocations: 0.9951 MB / 2.025 GB, free: 303 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/2.807, allocations: 2.104 MB / 2.027 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/2.807, allocations: 4.031 kB / 2.027 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/2.807, allocations: 63.91 kB / 2.027 GB, free: 300.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-06/2.807, allocations: 7.844 kB / 2.027 GB, free: 300.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.169e-05/2.807, allocations: 16 kB / 2.027 GB, free: 300.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/2.807, allocations: 11.92 kB / 2.027 GB, free: 300.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/2.807, allocations: 4.078 kB / 2.027 GB, free: 300.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/2.809, allocations: 1.519 MB / 2.029 GB, free: 299 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004867/2.809, allocations: 291.6 kB / 2.029 GB, free: 298.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/2.81, allocations: 19.98 kB / 2.029 GB, free: 298.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005482/2.81, allocations: 47.91 kB / 2.029 GB, free: 298.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/2.81, allocations: 51.91 kB / 2.029 GB, free: 298.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.662e-05/2.81, allocations: 27.89 kB / 2.029 GB, free: 298.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009768/2.811, allocations: 0.7806 MB / 2.03 GB, free: 297.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/2.811, allocations: 0 / 2.03 GB, free: 297.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001708/2.813, allocations: 0.5888 MB / 2.031 GB, free: 297.2 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.001444/2.814, allocations: 0.7646 MB / 2.031 GB, free: 296.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001902/2.816, allocations: 1.908 MB / 2.033 GB, free: 294.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/2.816, allocations: 0 / 2.033 GB, free: 294.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005551/2.817, allocations: 0.5423 MB / 2.034 GB, free: 293.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/2.819, allocations: 0.4937 MB / 2.034 GB, free: 293.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/2.822, allocations: 2.291 MB / 2.036 GB, free: 291.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/2.823, allocations: 1.091 MB / 2.037 GB, free: 290 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008099/2.823, allocations: 210.2 kB / 2.038 GB, free: 289.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/2.824, allocations: 75.42 kB / 2.038 GB, free: 289.7 MB / 1.167 GB Notification: Performance of SimCode: time 3.9e-07/2.824, allocations: 0 / 2.038 GB, free: 289.7 MB / 1.167 GB Notification: Performance of Templates: time 0.0378/2.861, allocations: 25.65 MB / 2.063 GB, free: 264.4 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches