Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.33/1.33, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 184.1 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008931/0.0008931, allocations: 90.08 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003114, allocations: 11.78 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1682, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7481/0.9163, allocations: 405.1 MB / 1.296 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.9166, allocations: 110.5 kB / 1.296 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.9782/1.895, allocations: 352.4 MB / 1.64 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.513e-06/1.895, allocations: 0 / 1.64 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001055/1.895, allocations: 27.98 kB / 1.64 GB, free: 112.1 MB / 0.8855 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.002841/1.898, allocations: 1.643 MB / 1.642 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/1.898, allocations: 11.97 kB / 1.642 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003535/1.898, allocations: 138.5 kB / 1.642 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/1.9, allocations: 1.171 MB / 1.643 GB, free: 109 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/1.9, allocations: 53.3 kB / 1.643 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/1.9, allocations: 71.91 kB / 1.643 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/1.902, allocations: 0.7902 MB / 1.644 GB, free: 108 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/1.902, allocations: 4 kB / 1.644 GB, free: 108 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.777e-05/1.902, allocations: 23.98 kB / 1.644 GB, free: 108 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/1.902, allocations: 24 kB / 1.644 GB, free: 108 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009335/1.903, allocations: 0.6219 MB / 1.644 GB, free: 107.3 MB / 0.8855 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.003335/1.906, allocations: 3.099 MB / 1.647 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006214/1.907, allocations: 459.4 kB / 1.648 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005228/1.907, allocations: 0.7716 MB / 1.649 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/1.907, allocations: 38.84 kB / 1.649 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=37): time 2.084e-06/1.907, allocations: 0 / 1.649 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37): time 0.001416/1.909, allocations: 1.243 MB / 1.65 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/1.909, allocations: 140.8 kB / 1.65 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/1.91, allocations: 0.9683 MB / 1.651 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/1.91, allocations: 37.7 kB / 1.651 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/1.91, allocations: 480.5 kB / 1.651 GB, free: 99.67 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.567e-05/1.91, allocations: 126.2 kB / 1.652 GB, free: 99.55 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/1.91, allocations: 11.94 kB / 1.652 GB, free: 99.54 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.755e-05/1.91, allocations: 326 kB / 1.652 GB, free: 99.21 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004111/1.911, allocations: 340.8 kB / 1.652 GB, free: 98.88 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004553/1.911, allocations: 452.1 kB / 1.653 GB, free: 98.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005028/1.912, allocations: 0.5336 MB / 1.653 GB, free: 97.83 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.912, allocations: 0 / 1.653 GB, free: 97.83 MB / 0.8855 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001185/1.913, allocations: 1.072 MB / 1.654 GB, free: 96.71 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000173/1.913, allocations: 0.8795 MB / 1.655 GB, free: 95.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.913, allocations: 4 kB / 1.655 GB, free: 95.74 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/1.913, allocations: 8 kB / 1.655 GB, free: 95.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/1.913, allocations: 83.89 kB / 1.655 GB, free: 95.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/1.913, allocations: 7.984 kB / 1.655 GB, free: 95.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006187/1.914, allocations: 107.2 kB / 1.655 GB, free: 95.54 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.69e-05/1.914, allocations: 35.97 kB / 1.655 GB, free: 95.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.863e-06/1.914, allocations: 4 kB / 1.655 GB, free: 95.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001156/1.915, allocations: 1.076 MB / 1.656 GB, free: 94.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/1.915, allocations: 4 kB / 1.656 GB, free: 94.38 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.209e-06/1.915, allocations: 7.953 kB / 1.656 GB, free: 94.37 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/1.916, allocations: 84.11 kB / 1.656 GB, free: 94.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/1.916, allocations: 11.94 kB / 1.657 GB, free: 94.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005454/1.916, allocations: 91.39 kB / 1.657 GB, free: 94.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/1.916, allocations: 35.92 kB / 1.657 GB, free: 94.15 MB / 0.8855 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.0003953/1.917, allocations: 470 kB / 1.657 GB, free: 93.66 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/1.917, allocations: 106.8 kB / 1.657 GB, free: 93.55 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/1.918, allocations: 0.9091 MB / 1.658 GB, free: 92.62 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/1.918, allocations: 8 kB / 1.658 GB, free: 92.61 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.918, allocations: 4 kB / 1.658 GB, free: 92.61 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008581/1.919, allocations: 0.9874 MB / 1.659 GB, free: 91.53 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002379/1.921, allocations: 2.112 MB / 1.661 GB, free: 89.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.921, allocations: 0 / 1.661 GB, free: 89.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/1.922, allocations: 71.89 kB / 1.661 GB, free: 89.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/1.922, allocations: 4 kB / 1.661 GB, free: 89.23 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/1.922, allocations: 12 kB / 1.661 GB, free: 89.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.922, allocations: 4 kB / 1.661 GB, free: 89.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.922, allocations: 7.938 kB / 1.661 GB, free: 89.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/1.923, allocations: 1.527 MB / 1.663 GB, free: 87.58 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000369/1.923, allocations: 291.6 kB / 1.663 GB, free: 87.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/1.924, allocations: 12 kB / 1.663 GB, free: 87.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000487/1.924, allocations: 55.95 kB / 1.663 GB, free: 87.21 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/1.924, allocations: 51.78 kB / 1.663 GB, free: 87.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/1.924, allocations: 27.97 kB / 1.663 GB, free: 87.13 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008909/1.925, allocations: 0.7806 MB / 1.664 GB, free: 86.34 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/1.925, allocations: 7.938 kB / 1.664 GB, free: 86.34 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001555/1.927, allocations: 0.581 MB / 1.664 GB, free: 85.75 MB / 0.8855 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.001246/1.928, allocations: 0.7417 MB / 1.665 GB, free: 85.02 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001807/1.93, allocations: 1.909 MB / 1.667 GB, free: 82.96 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.93, allocations: 0 / 1.667 GB, free: 82.96 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005513/1.93, allocations: 0.5497 MB / 1.668 GB, free: 82.38 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/1.933, allocations: 0.5043 MB / 1.668 GB, free: 81.88 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/1.935, allocations: 2.292 MB / 1.67 GB, free: 79.54 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/1.936, allocations: 1.095 MB / 1.671 GB, free: 78.41 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006925/1.936, allocations: 196 kB / 1.672 GB, free: 78.21 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/1.937, allocations: 79.42 kB / 1.672 GB, free: 78.14 MB / 0.8855 GB Notification: Performance of SimCode: time 4.01e-07/1.937, allocations: 4 kB / 1.672 GB, free: 78.13 MB / 0.8855 GB Notification: Performance of Templates: time 0.03267/1.969, allocations: 25.78 MB / 1.697 GB, free: 52.58 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches