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.34/2.34, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.001116/0.001116, allocations: 180.8 kB / 492.3 MB, free: 0.6094 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.578/1.578, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0008778/0.0008778, allocations: 97.69 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.117e-05/3.138e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3169, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.289/1.606, allocations: 424.4 MB / 1.627 GB, free: 6.191 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/1.607, allocations: 110.9 kB / 1.627 GB, free: 6.129 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.42/3.027, allocations: 368.9 MB / 1.987 GB, free: 217.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.613e-06/3.027, allocations: 0 / 1.987 GB, free: 217.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001072/3.027, allocations: 27.98 kB / 1.987 GB, free: 217.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.002529/3.03, allocations: 1.43 MB / 1.989 GB, free: 216 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/3.03, allocations: 8.031 kB / 1.989 GB, free: 216 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003288/3.03, allocations: 134.5 kB / 1.989 GB, free: 215.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/3.032, allocations: 1.171 MB / 1.99 GB, free: 214.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/3.032, allocations: 49.31 kB / 1.99 GB, free: 214.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/3.032, allocations: 68 kB / 1.99 GB, free: 214.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/3.034, allocations: 0.7747 MB / 1.991 GB, free: 213.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/3.034, allocations: 0 / 1.991 GB, free: 213.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.089e-05/3.034, allocations: 35.95 kB / 1.991 GB, free: 213.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/3.034, allocations: 12 kB / 1.991 GB, free: 213.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008133/3.035, allocations: 0.5674 MB / 1.991 GB, free: 213.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.003721/3.038, allocations: 3.116 MB / 1.994 GB, free: 209.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006005/3.039, allocations: 431.6 kB / 1.995 GB, free: 209.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/3.039, allocations: 285 kB / 1.995 GB, free: 209.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006738/3.04, allocations: 0.7677 MB / 1.996 GB, free: 208.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/3.04, allocations: 38.78 kB / 1.996 GB, free: 208.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=37): time 2.535e-06/3.04, allocations: 3.984 kB / 1.996 GB, free: 208.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=37): time 0.001044/3.041, allocations: 0.7137 MB / 1.997 GB, free: 207.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/3.041, allocations: 136.8 kB / 1.997 GB, free: 207.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/3.042, allocations: 0.9691 MB / 1.998 GB, free: 206.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/3.042, allocations: 33.7 kB / 1.998 GB, free: 206.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/3.043, allocations: 492.4 kB / 1.998 GB, free: 205.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.818e-05/3.043, allocations: 118.2 kB / 1.998 GB, free: 205.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/3.043, allocations: 12 kB / 1.998 GB, free: 205.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.58e-05/3.043, allocations: 326 kB / 1.999 GB, free: 205.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/3.043, allocations: 312.9 kB / 1.999 GB, free: 205 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/3.044, allocations: 432.1 kB / 1.999 GB, free: 204.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004527/3.044, allocations: 0.5071 MB / 2 GB, free: 204 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/3.044, allocations: 4 kB / 2 GB, free: 204 MB / 1.151 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001166/3.045, allocations: 1.041 MB / 2.001 GB, free: 202.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002324/3.046, allocations: 0.873 MB / 2.002 GB, free: 201.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/3.046, allocations: 4 kB / 2.002 GB, free: 201.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/3.046, allocations: 4 kB / 2.002 GB, free: 201.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/3.046, allocations: 95.83 kB / 2.002 GB, free: 201.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/3.046, allocations: 7.984 kB / 2.002 GB, free: 201.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007182/3.047, allocations: 99.28 kB / 2.002 GB, free: 201.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.528e-05/3.047, allocations: 31.98 kB / 2.002 GB, free: 201.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/3.047, allocations: 7.938 kB / 2.002 GB, free: 201.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001096/3.048, allocations: 1.033 MB / 2.003 GB, free: 200.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/3.048, allocations: 4.078 kB / 2.003 GB, free: 200.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.36e-06/3.048, allocations: 4 kB / 2.003 GB, free: 200.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/3.048, allocations: 87.89 kB / 2.003 GB, free: 200.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/3.048, allocations: 7.969 kB / 2.003 GB, free: 200.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/3.049, allocations: 99.55 kB / 2.003 GB, free: 200.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/3.049, allocations: 24 kB / 2.003 GB, free: 200.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.0001919/3.049, allocations: 239.7 kB / 2.003 GB, free: 200.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/3.049, allocations: 106.6 kB / 2.004 GB, free: 200 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/3.05, allocations: 0.8662 MB / 2.004 GB, free: 199.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/3.05, allocations: 8 kB / 2.004 GB, free: 199.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/3.05, allocations: 0 / 2.004 GB, free: 199.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008046/3.051, allocations: 0.9483 MB / 2.005 GB, free: 198.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/3.054, allocations: 2.071 MB / 2.007 GB, free: 195.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/3.054, allocations: 4 kB / 2.007 GB, free: 195.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/3.054, allocations: 63.91 kB / 2.007 GB, free: 195.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.555e-06/3.054, allocations: 4 kB / 2.007 GB, free: 195.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/3.054, allocations: 24.23 kB / 2.007 GB, free: 195.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/3.054, allocations: 4 kB / 2.007 GB, free: 195.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/3.054, allocations: 0 / 2.007 GB, free: 195.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/3.056, allocations: 1.465 MB / 2.009 GB, free: 194.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/3.056, allocations: 295.6 kB / 2.009 GB, free: 193.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/3.056, allocations: 15.98 kB / 2.009 GB, free: 193.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004825/3.057, allocations: 59.89 kB / 2.009 GB, free: 193.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/3.057, allocations: 47.88 kB / 2.009 GB, free: 193.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/3.057, allocations: 20 kB / 2.009 GB, free: 193.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009451/3.058, allocations: 0.7698 MB / 2.01 GB, free: 193 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/3.058, allocations: 0 / 2.01 GB, free: 193 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001738/3.06, allocations: 0.581 MB / 2.011 GB, free: 192.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.001271/3.061, allocations: 0.7381 MB / 2.011 GB, free: 191.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001687/3.063, allocations: 1.895 MB / 2.013 GB, free: 189.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/3.063, allocations: 0 / 2.013 GB, free: 189.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004837/3.063, allocations: 0.5241 MB / 2.014 GB, free: 189.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/3.065, allocations: 0.5028 MB / 2.014 GB, free: 188.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/3.068, allocations: 1.522 MB / 2.016 GB, free: 187 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/3.069, allocations: 1.093 MB / 2.017 GB, free: 185.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001262/3.07, allocations: 311.7 kB / 2.017 GB, free: 185.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/3.07, allocations: 59.42 kB / 2.017 GB, free: 185.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.182e-06/3.07, allocations: 3.938 kB / 2.017 GB, free: 185.5 MB / 1.151 GB Notification: Performance of Templates: time 0.04292/3.113, allocations: 28.04 MB / 2.044 GB, free: 157.7 MB / 1.151 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