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.451/2.451, allocations: 390.5 MB / 398 MB, free: 10.92 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.002341/0.002341, allocations: 180.8 kB / 491.2 MB, free: 1.562 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.891/1.891, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0009704/0.0009704, allocations: 87.94 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.736e-05/1.738e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3057, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.318/1.624, allocations: 424.6 MB / 1.627 GB, free: 6.398 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000341/1.624, allocations: 106.2 kB / 1.627 GB, free: 6.34 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.466/3.09, allocations: 367.2 MB / 1.986 GB, free: 219.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.282e-06/3.09, allocations: 0 / 1.986 GB, free: 219.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001656/3.09, allocations: 35.86 kB / 1.986 GB, free: 219.4 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.003301/3.093, allocations: 1.43 MB / 1.987 GB, free: 217.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/3.093, allocations: 8.031 kB / 1.987 GB, free: 217.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005831/3.094, allocations: 130.5 kB / 1.987 GB, free: 217.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002161/3.096, allocations: 1.179 MB / 1.988 GB, free: 216.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/3.096, allocations: 20 kB / 1.988 GB, free: 216.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.442e-05/3.096, allocations: 40 kB / 1.988 GB, free: 216.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008677/3.097, allocations: 0.5337 MB / 1.989 GB, free: 215.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009405/3.098, allocations: 0.6823 MB / 1.99 GB, free: 215.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/3.098, allocations: 3.938 kB / 1.99 GB, free: 215.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.233e-05/3.098, allocations: 4 kB / 1.99 GB, free: 215.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/3.098, allocations: 20 kB / 1.99 GB, free: 215.2 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.00337/3.102, allocations: 2.948 MB / 1.992 GB, free: 212.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004993/3.102, allocations: 423.3 kB / 1.993 GB, free: 211.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/3.102, allocations: 269.1 kB / 1.993 GB, free: 211.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005781/3.103, allocations: 0.7677 MB / 1.994 GB, free: 210.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/3.103, allocations: 42.83 kB / 1.994 GB, free: 210.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=37): time 2.405e-06/3.103, allocations: 0 / 1.994 GB, free: 210.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=37): time 0.001166/3.104, allocations: 0.6346 MB / 1.995 GB, free: 209.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/3.104, allocations: 140.7 kB / 1.995 GB, free: 209.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009207/3.105, allocations: 0.8058 MB / 1.995 GB, free: 208.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/3.105, allocations: 29.7 kB / 1.996 GB, free: 208.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/3.106, allocations: 491.7 kB / 1.996 GB, free: 208.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.999e-05/3.106, allocations: 126.2 kB / 1.996 GB, free: 208.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/3.106, allocations: 0 / 1.996 GB, free: 208.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.83e-05/3.106, allocations: 326 kB / 1.996 GB, free: 207.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/3.106, allocations: 304.9 kB / 1.997 GB, free: 207.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/3.106, allocations: 411.3 kB / 1.997 GB, free: 207.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006962/3.107, allocations: 388.1 kB / 1.997 GB, free: 206.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/3.107, allocations: 0 / 1.997 GB, free: 206.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001261/3.108, allocations: 0.8671 MB / 1.998 GB, free: 205.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002099/3.109, allocations: 0.8743 MB / 1.999 GB, free: 204.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/3.109, allocations: 4 kB / 1.999 GB, free: 204.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/3.109, allocations: 4 kB / 1.999 GB, free: 204.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/3.109, allocations: 83.89 kB / 1.999 GB, free: 204.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/3.109, allocations: 11.92 kB / 1.999 GB, free: 204.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006194/3.11, allocations: 79.48 kB / 1.999 GB, free: 204.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.048e-05/3.11, allocations: 31.95 kB / 1.999 GB, free: 204.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/3.11, allocations: 5.562 kB / 1.999 GB, free: 204.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001188/3.111, allocations: 0.8314 MB / 2 GB, free: 203.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/3.111, allocations: 4 kB / 2 GB, free: 203.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.623e-06/3.111, allocations: 4 kB / 2 GB, free: 203.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/3.111, allocations: 83.89 kB / 2 GB, free: 203.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/3.111, allocations: 3.938 kB / 2 GB, free: 203.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005009/3.112, allocations: 75.8 kB / 2 GB, free: 203.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.468e-05/3.112, allocations: 31.98 kB / 2 GB, free: 203.6 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.0001606/3.112, allocations: 210 kB / 2.001 GB, free: 203.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/3.112, allocations: 94.83 kB / 2.001 GB, free: 203.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/3.114, allocations: 0.7743 MB / 2.001 GB, free: 202.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/3.114, allocations: 4 kB / 2.001 GB, free: 202.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/3.114, allocations: 4 kB / 2.001 GB, free: 202.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009202/3.114, allocations: 0.8652 MB / 2.002 GB, free: 201.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/3.117, allocations: 1.861 MB / 2.004 GB, free: 199.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/3.117, allocations: 0 / 2.004 GB, free: 199.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002763/3.117, allocations: 71.89 kB / 2.004 GB, free: 199.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/3.117, allocations: 4 kB / 2.004 GB, free: 199.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/3.117, allocations: 8.25 kB / 2.004 GB, free: 199.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/3.117, allocations: 8 kB / 2.004 GB, free: 199.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/3.117, allocations: 3.938 kB / 2.004 GB, free: 199.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/3.119, allocations: 1.347 MB / 2.006 GB, free: 198.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003777/3.119, allocations: 279.8 kB / 2.006 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/3.119, allocations: 11.94 kB / 2.006 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004472/3.12, allocations: 39.94 kB / 2.006 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/3.12, allocations: 55.89 kB / 2.006 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/3.12, allocations: 12 kB / 2.006 GB, free: 197.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007227/3.121, allocations: 0.6204 MB / 2.006 GB, free: 197 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/3.121, allocations: 0 / 2.006 GB, free: 197 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001645/3.122, allocations: 0.5846 MB / 2.007 GB, free: 196.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.001167/3.124, allocations: 0.7336 MB / 2.008 GB, free: 195.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001542/3.125, allocations: 1.835 MB / 2.01 GB, free: 193.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/3.125, allocations: 4.125 kB / 2.01 GB, free: 193.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004356/3.126, allocations: 0.5136 MB / 2.01 GB, free: 193.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/3.127, allocations: 390.5 kB / 2.01 GB, free: 192.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/3.13, allocations: 1.464 MB / 2.012 GB, free: 191.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/3.13, allocations: 1.092 MB / 2.013 GB, free: 190.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001007/3.131, allocations: 282.5 kB / 2.013 GB, free: 189.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/3.131, allocations: 59.36 kB / 2.013 GB, free: 189.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.253e-06/3.131, allocations: 0 / 2.013 GB, free: 189.8 MB / 1.151 GB Notification: Performance of Templates: time 0.03135/3.163, allocations: 21.44 MB / 2.034 GB, free: 168.6 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