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.407/2.407, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.001135/0.001135, allocations: 184 kB / 496.1 MB, free: 12.83 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.773/1.773, allocations: 221.3 MB / 0.7915 GB, free: 5.359 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.001082/0.001082, allocations: 103.3 kB / 0.9318 GB, free: 5.664 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.561e-05/3.565e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3114, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.227/1.538, allocations: 425.3 MB / 1.634 GB, free: 9.191 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/1.539, allocations: 107.9 kB / 1.634 GB, free: 9.086 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 1.412/2.951, allocations: 368.9 MB / 1.994 GB, free: 163.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.403e-06/2.951, allocations: 0 / 1.994 GB, free: 163.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001559/2.951, allocations: 31.98 kB / 1.994 GB, free: 163.5 MB / 1.151 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.002947/2.954, allocations: 1.434 MB / 1.996 GB, free: 162 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/2.954, allocations: 12.03 kB / 1.996 GB, free: 161.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00058/2.955, allocations: 130.5 kB / 1.996 GB, free: 161.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/2.957, allocations: 1.171 MB / 1.997 GB, free: 160.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/2.958, allocations: 49.31 kB / 1.997 GB, free: 160.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/2.958, allocations: 76 kB / 1.997 GB, free: 160.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/2.959, allocations: 0.7668 MB / 1.998 GB, free: 159.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/2.959, allocations: 0 / 1.998 GB, free: 159.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.456e-05/2.959, allocations: 28 kB / 1.998 GB, free: 159.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/2.959, allocations: 19.98 kB / 1.998 GB, free: 159.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008814/2.96, allocations: 0.5636 MB / 1.999 GB, free: 159.1 MB / 1.151 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.003938/2.964, allocations: 3.12 MB / 2.002 GB, free: 155.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006172/2.965, allocations: 427.6 kB / 2.002 GB, free: 155.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/2.965, allocations: 289 kB / 2.002 GB, free: 155.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005769/2.966, allocations: 0.7599 MB / 2.003 GB, free: 154.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/2.966, allocations: 42.78 kB / 2.003 GB, free: 154.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=37): time 1.844e-06/2.966, allocations: 0 / 2.003 GB, free: 154.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=37): time 0.001005/2.967, allocations: 0.7137 MB / 2.004 GB, free: 153.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/2.967, allocations: 144.8 kB / 2.004 GB, free: 153.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/2.968, allocations: 0.9613 MB / 2.005 GB, free: 152.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.064e-05/2.968, allocations: 37.7 kB / 2.005 GB, free: 152.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/2.968, allocations: 472.6 kB / 2.005 GB, free: 151.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.454e-05/2.968, allocations: 130.1 kB / 2.006 GB, free: 151.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/2.968, allocations: 8 kB / 2.006 GB, free: 151.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.567e-05/2.968, allocations: 329.8 kB / 2.006 GB, free: 151.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/2.969, allocations: 320.9 kB / 2.006 GB, free: 150.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/2.969, allocations: 428.1 kB / 2.007 GB, free: 150.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/2.97, allocations: 0.5149 MB / 2.007 GB, free: 149.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/2.97, allocations: 0 / 2.007 GB, free: 149.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00117/2.971, allocations: 1.033 MB / 2.008 GB, free: 148.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001975/2.971, allocations: 0.8757 MB / 2.009 GB, free: 147.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/2.971, allocations: 4 kB / 2.009 GB, free: 147.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/2.971, allocations: 4 kB / 2.009 GB, free: 147.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/2.971, allocations: 91.83 kB / 2.009 GB, free: 147.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/2.971, allocations: 11.95 kB / 2.009 GB, free: 147.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007212/2.972, allocations: 103.2 kB / 2.009 GB, free: 147.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.853e-05/2.972, allocations: 27.98 kB / 2.009 GB, free: 147.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/2.972, allocations: 5.719 kB / 2.009 GB, free: 147.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001066/2.973, allocations: 1.037 MB / 2.01 GB, free: 146.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/2.973, allocations: 8.219 kB / 2.01 GB, free: 146.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-06/2.973, allocations: 4 kB / 2.01 GB, free: 146.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/2.974, allocations: 83.89 kB / 2.01 GB, free: 146.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/2.974, allocations: 4 kB / 2.01 GB, free: 146.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006471/2.974, allocations: 91.39 kB / 2.01 GB, free: 146.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.044e-05/2.974, allocations: 27.98 kB / 2.01 GB, free: 146.4 MB / 1.151 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.0001687/2.975, allocations: 229.9 kB / 2.011 GB, free: 146.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/2.975, allocations: 102.7 kB / 2.011 GB, free: 146 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/2.976, allocations: 0.8739 MB / 2.012 GB, free: 145.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/2.976, allocations: 4 kB / 2.012 GB, free: 145.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/2.976, allocations: 0 / 2.012 GB, free: 145.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007914/2.977, allocations: 0.9495 MB / 2.012 GB, free: 144.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002546/2.979, allocations: 2.082 MB / 2.015 GB, free: 141.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/2.979, allocations: 0 / 2.015 GB, free: 141.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/2.98, allocations: 71.89 kB / 2.015 GB, free: 141.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/2.98, allocations: 4 kB / 2.015 GB, free: 141.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/2.98, allocations: 12 kB / 2.015 GB, free: 141.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/2.98, allocations: 4 kB / 2.015 GB, free: 141.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/2.98, allocations: 0 / 2.015 GB, free: 141.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/2.981, allocations: 1.472 MB / 2.016 GB, free: 140.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004467/2.981, allocations: 291.6 kB / 2.016 GB, free: 139.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/2.982, allocations: 19.95 kB / 2.016 GB, free: 139.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005413/2.982, allocations: 51.95 kB / 2.016 GB, free: 139.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/2.982, allocations: 47.89 kB / 2.016 GB, free: 139.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/2.982, allocations: 27.98 kB / 2.016 GB, free: 139.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009218/2.983, allocations: 0.7698 MB / 2.017 GB, free: 139 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/2.983, allocations: 0 / 2.017 GB, free: 139 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001629/2.985, allocations: 0.5849 MB / 2.018 GB, free: 138.4 MB / 1.151 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.001442/2.986, allocations: 0.7274 MB / 2.018 GB, free: 137.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00163/2.988, allocations: 1.891 MB / 2.02 GB, free: 135.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/2.988, allocations: 4.062 kB / 2.02 GB, free: 135.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005105/2.989, allocations: 0.5254 MB / 2.021 GB, free: 135.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/2.991, allocations: 0.5011 MB / 2.021 GB, free: 134.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/2.993, allocations: 1.529 MB / 2.023 GB, free: 133 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005209/2.994, allocations: 1.089 MB / 2.024 GB, free: 131.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001187/2.995, allocations: 319.7 kB / 2.024 GB, free: 131.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/2.995, allocations: 55.42 kB / 2.024 GB, free: 131.5 MB / 1.151 GB Notification: Performance of SimCode: time 9.21e-07/2.995, allocations: 0 / 2.024 GB, free: 131.5 MB / 1.151 GB Notification: Performance of Templates: time 0.03969/3.035, allocations: 28.04 MB / 2.052 GB, free: 103.7 MB / 1.151 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