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.478/1.478, allocations: 249.3 MB / 261.8 MB, free: 5.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 184.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.2 MB / 0.572 GB, free: 10.6 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.0008901/0.0008902, allocations: 97.28 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.453e-05/3.456e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2319, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.599/1.831, allocations: 405.1 MB / 1.287 GB, free: 321.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/1.832, allocations: 107.7 kB / 1.287 GB, free: 321.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.247/3.079, allocations: 351.2 MB / 1.63 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.463e-06/3.079, allocations: 0 / 1.63 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001169/3.079, allocations: 27.5 kB / 1.63 GB, free: 198.8 MB / 0.8698 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.002528/3.082, allocations: 1.431 MB / 1.632 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/3.082, allocations: 12.72 kB / 1.632 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003288/3.082, allocations: 128.4 kB / 1.632 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002263/3.084, allocations: 1.178 MB / 1.633 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.162e-05/3.084, allocations: 48.66 kB / 1.633 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/3.085, allocations: 77.2 kB / 1.633 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/3.086, allocations: 0.7646 MB / 1.634 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/3.086, allocations: 4.062 kB / 1.634 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.925e-05/3.086, allocations: 24.38 kB / 1.634 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.683e-05/3.086, allocations: 16.16 kB / 1.634 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/3.087, allocations: 0.5693 MB / 1.635 GB, free: 197.7 MB / 0.8698 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.00581/3.093, allocations: 3.116 MB / 1.638 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008994/3.094, allocations: 431.7 kB / 1.638 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004649/3.094, allocations: 284.6 kB / 1.638 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007658/3.095, allocations: 0.7649 MB / 1.639 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/3.095, allocations: 37.47 kB / 1.639 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 4.518e-06/3.095, allocations: 3.719 kB / 1.639 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.001587/3.097, allocations: 0.7193 MB / 1.64 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/3.097, allocations: 140.3 kB / 1.64 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/3.099, allocations: 0.9612 MB / 1.641 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.768e-05/3.099, allocations: 38.08 kB / 1.641 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/3.1, allocations: 482.2 kB / 1.641 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/3.1, allocations: 126.3 kB / 1.642 GB, free: 195 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/3.1, allocations: 14.34 kB / 1.642 GB, free: 195 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.63e-05/3.1, allocations: 324.2 kB / 1.642 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005336/3.101, allocations: 313.7 kB / 1.642 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005484/3.101, allocations: 432.7 kB / 1.643 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005845/3.102, allocations: 0.5106 MB / 1.643 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/3.102, allocations: 0 / 1.643 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001582/3.103, allocations: 1.037 MB / 1.644 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003035/3.104, allocations: 0.8826 MB / 1.645 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/3.104, allocations: 1.5 kB / 1.645 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-05/3.104, allocations: 3.969 kB / 1.645 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000413/3.104, allocations: 91.45 kB / 1.645 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/3.104, allocations: 5.281 kB / 1.645 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009137/3.105, allocations: 102 kB / 1.645 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.898e-05/3.105, allocations: 31.97 kB / 1.645 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/3.105, allocations: 3.75 kB / 1.645 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001445/3.107, allocations: 1.03 MB / 1.646 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/3.107, allocations: 2.375 kB / 1.646 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/3.107, allocations: 4.5 kB / 1.646 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/3.107, allocations: 93.3 kB / 1.646 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/3.107, allocations: 10.61 kB / 1.646 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006926/3.108, allocations: 97.97 kB / 1.646 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-05/3.108, allocations: 25 kB / 1.646 GB, free: 193 MB / 0.8698 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 () * 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.0002039/3.108, allocations: 221.9 kB / 1.647 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/3.108, allocations: 99.69 kB / 1.647 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/3.11, allocations: 0.8703 MB / 1.648 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/3.11, allocations: 4.219 kB / 1.648 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/3.11, allocations: 3.953 kB / 1.648 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009934/3.111, allocations: 0.9521 MB / 1.648 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/3.114, allocations: 2.069 MB / 1.651 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/3.114, allocations: 2.188 kB / 1.651 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/3.114, allocations: 72.78 kB / 1.651 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/3.114, allocations: 14.33 kB / 1.651 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/3.114, allocations: 11.66 kB / 1.651 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/3.114, allocations: 4.219 kB / 1.651 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/3.114, allocations: 2.375 kB / 1.651 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/3.116, allocations: 1.466 MB / 1.652 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004834/3.116, allocations: 296.9 kB / 1.652 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/3.117, allocations: 12.56 kB / 1.652 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005105/3.117, allocations: 51.97 kB / 1.652 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/3.117, allocations: 50.39 kB / 1.652 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.569e-05/3.117, allocations: 21.84 kB / 1.652 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001201/3.119, allocations: 0.772 MB / 1.653 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.71e-07/3.119, allocations: 3.156 kB / 1.653 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002079/3.121, allocations: 0.5803 MB / 1.654 GB, free: 190.7 MB / 0.8698 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) * 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.001439/3.122, allocations: 0.7306 MB / 1.655 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002325/3.124, allocations: 1.897 MB / 1.656 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/3.124, allocations: 3.688 kB / 1.656 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004894/3.125, allocations: 0.5325 MB / 1.657 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/3.127, allocations: 0.511 MB / 1.657 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/3.13, allocations: 1.515 MB / 1.659 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/3.13, allocations: 1.098 MB / 1.66 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001179/3.131, allocations: 318.9 kB / 1.66 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/3.132, allocations: 56.89 kB / 1.66 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.403e-06/3.132, allocations: 0 / 1.66 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.03998/3.172, allocations: 28.17 MB / 1.688 GB, free: 187.7 MB / 0.8698 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