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/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008781/0.0008779, allocations: 91.3 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005815/0.005815, allocations: 171.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.027/3.027, allocations: 483.2 MB / 0.7564 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003288, allocations: 13.59 kB / 0.9276 GB, free: 28.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3199, allocations: 164.5 MB / 1.088 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.04657/0.3665, allocations: 40.95 MB / 1.128 GB, free: 1.176 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01451/0.3811, allocations: 8.881 MB / 1.137 GB, free: 8.273 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/0.3828, allocations: 35.75 kB / 1.137 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.3844, allocations: 497.6 kB / 1.137 GB, free: 7.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00353/0.388, allocations: 1.147 MB / 1.139 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003053/0.3911, allocations: 1.062 MB / 1.14 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004502/0.3956, allocations: 3.275 MB / 1.143 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.3969, allocations: 0.7417 MB / 1.144 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002128/0.399, allocations: 0.9176 MB / 1.144 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.4001, allocations: 0.6765 MB / 1.145 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.4002, allocations: 40 kB / 1.145 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/0.4026, allocations: 1.056 MB / 1.146 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003154/0.4029, allocations: 251 kB / 1.146 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007098/0.4036, allocations: 0.5651 MB / 1.147 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003133/0.4068, allocations: 2.231 MB / 1.149 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4068, allocations: 0 / 1.149 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.325e-06/0.4068, allocations: 0 / 1.149 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.4068, allocations: 0 / 1.149 GB, free: 11.74 MB / 0.9044 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.002695/0.4095, allocations: 1.522 MB / 1.151 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.4096, allocations: 8.031 kB / 1.151 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003028/0.4099, allocations: 135.4 kB / 1.151 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/0.4117, allocations: 1.061 MB / 1.152 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.934e-05/0.4117, allocations: 49.31 kB / 1.152 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.4119, allocations: 68 kB / 1.152 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.4134, allocations: 0.8136 MB / 1.153 GB, free: 7.93 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.4134, allocations: 0 / 1.153 GB, free: 7.93 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.886e-05/0.4135, allocations: 28 kB / 1.153 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/0.4135, allocations: 16 kB / 1.153 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.4147, allocations: 0.6219 MB / 1.153 GB, free: 7.266 MB / 0.9044 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.004599/0.4193, allocations: 3.216 MB / 1.156 GB, free: 3.883 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008701/0.4202, allocations: 466.8 kB / 1.157 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005317/0.4207, allocations: 316.7 kB / 1.157 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/0.4218, allocations: 0.7831 MB / 1.158 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/0.4218, allocations: 46.42 kB / 1.158 GB, free: 2.102 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=38): time 2.344e-06/0.4218, allocations: 0 / 1.158 GB, free: 2.102 MB / 0.9044 GB Notification: Performance of matching and sorting (n=38): time 0.001901/0.4237, allocations: 1.017 MB / 1.159 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.425e-05/0.4239, allocations: 136.5 kB / 1.159 GB, free: 0.8945 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.4255, allocations: 1.071 MB / 1.16 GB, free: 15.8 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.914e-05/0.4256, allocations: 37.7 kB / 1.16 GB, free: 15.76 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004603/0.426, allocations: 468.6 kB / 1.161 GB, free: 15.3 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.4262, allocations: 134 kB / 1.161 GB, free: 15.17 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.668e-05/0.4263, allocations: 53.69 kB / 1.161 GB, free: 15.11 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4265, allocations: 334 kB / 1.161 GB, free: 14.78 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005926/0.4271, allocations: 348.8 kB / 1.162 GB, free: 14.43 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006717/0.4277, allocations: 458.6 kB / 1.162 GB, free: 13.96 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.4291, allocations: 0.9832 MB / 1.163 GB, free: 12.9 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.4292, allocations: 7.938 kB / 1.163 GB, free: 12.89 MB / 0.92 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00181/0.431, allocations: 1.108 MB / 1.164 GB, free: 11.74 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002487/0.4312, allocations: 319.4 kB / 1.164 GB, free: 11.36 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.4313, allocations: 4 kB / 1.164 GB, free: 11.36 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.4313, allocations: 4 kB / 1.164 GB, free: 11.35 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.4317, allocations: 99.81 kB / 1.164 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.4317, allocations: 4 kB / 1.164 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007247/0.4324, allocations: 107.3 kB / 1.165 GB, free: 11.14 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/0.4325, allocations: 27.94 kB / 1.165 GB, free: 11.12 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.673e-06/0.4325, allocations: 1.562 kB / 1.165 GB, free: 11.12 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001679/0.4342, allocations: 1.112 MB / 1.166 GB, free: 9.969 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.4342, allocations: 0 / 1.166 GB, free: 9.969 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.703e-06/0.4342, allocations: 4 kB / 1.166 GB, free: 9.965 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.4346, allocations: 91.89 kB / 1.166 GB, free: 9.875 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.4346, allocations: 8.156 kB / 1.166 GB, free: 9.867 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000631/0.4352, allocations: 99.38 kB / 1.166 GB, free: 9.77 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.226e-05/0.4353, allocations: 31.98 kB / 1.166 GB, free: 9.738 MB / 0.92 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.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007396/0.4361, allocations: 470 kB / 1.166 GB, free: 9.25 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.4363, allocations: 114.6 kB / 1.166 GB, free: 9.137 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.4379, allocations: 0.9173 MB / 1.167 GB, free: 8.195 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.4379, allocations: 7.984 kB / 1.167 GB, free: 8.188 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4379, allocations: 0 / 1.167 GB, free: 8.188 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00136/0.4393, allocations: 0.9835 MB / 1.168 GB, free: 7.117 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004713/0.444, allocations: 2.132 MB / 1.17 GB, free: 4.863 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.4441, allocations: 4 kB / 1.17 GB, free: 4.859 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003429/0.4445, allocations: 67.89 kB / 1.17 GB, free: 4.793 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.469e-05/0.4445, allocations: 7.938 kB / 1.17 GB, free: 4.785 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.729e-05/0.4446, allocations: 12.28 kB / 1.17 GB, free: 4.773 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.431e-05/0.4446, allocations: 15.88 kB / 1.17 GB, free: 4.758 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-06/0.4446, allocations: 4 kB / 1.17 GB, free: 4.754 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002758/0.4474, allocations: 1.424 MB / 1.172 GB, free: 3.27 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000704/0.4481, allocations: 299.5 kB / 1.172 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.4482, allocations: 12 kB / 1.172 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005946/0.4488, allocations: 62.2 kB / 1.172 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.449, allocations: 43.94 kB / 1.172 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-05/0.4491, allocations: 20 kB / 1.172 GB, free: 2.824 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001401/0.4505, allocations: 0.7805 MB / 1.173 GB, free: 2.035 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.6e-07/0.4505, allocations: 0 / 1.173 GB, free: 2.035 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001928/0.4524, allocations: 0.5148 MB / 1.174 GB, free: 1.52 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001225/0.4537, allocations: 404.8 kB / 1.174 GB, free: 1.129 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002891/0.4566, allocations: 1.955 MB / 1.176 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/0.4566, allocations: 8.062 kB / 1.176 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007851/0.4574, allocations: 0.5496 MB / 1.176 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002951/0.4604, allocations: 0.515 MB / 1.177 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.4639, allocations: 2.279 MB / 1.179 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007975/0.4647, allocations: 1.072 MB / 1.18 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008975/0.4656, allocations: 197.6 kB / 1.18 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.4658, allocations: 79.42 kB / 1.18 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of SimCode: time 6.82e-07/0.4658, allocations: 0 / 1.18 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of Templates: time 0.04501/0.5109, allocations: 23.59 MB / 1.203 GB, free: 2.938 MB / 0.9512 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=400 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches