Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001088/0.001088, allocations: 91.53 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.008293/0.008293, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.525/1.525, 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 11.1.0-maint.11.x/package.mo): time 2.925/2.925, allocations: 470.6 MB / 0.7442 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 12.89 kB / 0.9123 GB, free: 34.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3155, allocations: 161.4 MB / 1.07 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.04577/0.3613, allocations: 40.88 MB / 1.11 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01383/0.3752, allocations: 8.881 MB / 1.118 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.3768, allocations: 35.75 kB / 1.119 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.3786, allocations: 493.6 kB / 1.119 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003954/0.3826, allocations: 1.161 MB / 1.12 GB, free: 7.789 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003406/0.386, allocations: 1.046 MB / 1.121 GB, free: 6.75 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005053/0.3911, allocations: 3.361 MB / 1.124 GB, free: 3.379 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.3927, allocations: 0.7378 MB / 1.125 GB, free: 2.621 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002293/0.395, allocations: 0.8359 MB / 1.126 GB, free: 1.781 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.3965, allocations: 0.6959 MB / 1.127 GB, free: 1.082 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001986/0.3967, allocations: 40 kB / 1.127 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00262/0.3993, allocations: 1.053 MB / 1.128 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004488/0.3998, allocations: 254.8 kB / 1.128 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000965/0.4008, allocations: 0.5652 MB / 1.129 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003759/0.4045, allocations: 2.227 MB / 1.131 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.4045, allocations: 0 / 1.131 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4046, allocations: 4 kB / 1.131 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.745e-05/0.4046, allocations: 0 / 1.131 GB, free: 12.93 MB / 0.8887 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.003086/0.4077, allocations: 1.511 MB / 1.132 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.4078, allocations: 12.03 kB / 1.132 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004452/0.4082, allocations: 135.4 kB / 1.132 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00222/0.4105, allocations: 1.069 MB / 1.133 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-05/0.4105, allocations: 49.31 kB / 1.133 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.4107, allocations: 68 kB / 1.133 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.4126, allocations: 0.8175 MB / 1.134 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.4126, allocations: 4 kB / 1.134 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.285e-05/0.4127, allocations: 28 kB / 1.134 GB, free: 9.078 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.631e-05/0.4127, allocations: 12 kB / 1.134 GB, free: 9.066 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.4141, allocations: 0.6259 MB / 1.135 GB, free: 8.441 MB / 0.8887 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.005232/0.4193, allocations: 3.213 MB / 1.138 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009102/0.4203, allocations: 466.8 kB / 1.138 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005416/0.4208, allocations: 316.7 kB / 1.139 GB, free: 4.285 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009749/0.4218, allocations: 0.7831 MB / 1.14 GB, free: 3.336 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.4218, allocations: 38.5 kB / 1.14 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=38): time 2.324e-06/0.4218, allocations: 0 / 1.14 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of matching and sorting (n=38): time 0.001964/0.4238, allocations: 1.015 MB / 1.141 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.4239, allocations: 144.5 kB / 1.141 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/0.4258, allocations: 1.067 MB / 1.142 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.422e-05/0.4259, allocations: 33.7 kB / 1.142 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005034/0.4264, allocations: 476.5 kB / 1.142 GB, free: 496 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.4265, allocations: 130.1 kB / 1.142 GB, free: 364 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.698e-05/0.4266, allocations: 49.7 kB / 1.142 GB, free: 308 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002151/0.4269, allocations: 334 kB / 1.143 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006044/0.4275, allocations: 344.8 kB / 1.143 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000705/0.4282, allocations: 466.6 kB / 1.144 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.4296, allocations: 0.9871 MB / 1.144 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4296, allocations: 0 / 1.144 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001888/0.4315, allocations: 1.116 MB / 1.146 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002485/0.4318, allocations: 323.2 kB / 1.146 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.4318, allocations: 0 / 1.146 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.4318, allocations: 7.938 kB / 1.146 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.4322, allocations: 91.89 kB / 1.146 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.4322, allocations: 4 kB / 1.146 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007385/0.433, allocations: 104 kB / 1.146 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.609e-05/0.4331, allocations: 27.94 kB / 1.146 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4331, allocations: 4 kB / 1.146 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001706/0.4348, allocations: 1.109 MB / 1.147 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.4348, allocations: 4 kB / 1.147 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/0.4348, allocations: 4 kB / 1.147 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.4352, allocations: 100.1 kB / 1.147 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.4352, allocations: 7.938 kB / 1.147 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000705/0.4359, allocations: 95.38 kB / 1.147 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.436, allocations: 20 kB / 1.147 GB, free: 10.93 MB / 0.9044 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.0007023/0.4367, allocations: 482 kB / 1.148 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/0.4369, allocations: 102.7 kB / 1.148 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.4386, allocations: 0.9275 MB / 1.149 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.4386, allocations: 8 kB / 1.149 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4387, allocations: 0 / 1.149 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001341/0.44, allocations: 0.991 MB / 1.15 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003585/0.4436, allocations: 2.133 MB / 1.152 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.4436, allocations: 0 / 1.152 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.4439, allocations: 72.19 kB / 1.152 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.4439, allocations: 7.938 kB / 1.152 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/0.444, allocations: 12 kB / 1.152 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.444, allocations: 15.86 kB / 1.152 GB, free: 5.934 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.444, allocations: 4 kB / 1.152 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/0.4462, allocations: 1.412 MB / 1.153 GB, free: 4.457 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005018/0.4467, allocations: 295.5 kB / 1.154 GB, free: 4.148 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.4469, allocations: 19.92 kB / 1.154 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005919/0.4475, allocations: 63.58 kB / 1.154 GB, free: 4.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.4476, allocations: 47.89 kB / 1.154 GB, free: 4.023 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.807e-05/0.4477, allocations: 23.98 kB / 1.154 GB, free: 4 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001281/0.449, allocations: 0.7728 MB / 1.155 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/0.449, allocations: 4 kB / 1.155 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00151/0.4505, allocations: 0.5148 MB / 1.155 GB, free: 2.699 MB / 0.9044 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.001014/0.4515, allocations: 391.3 kB / 1.155 GB, free: 2.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002716/0.4542, allocations: 1.952 MB / 1.157 GB, free: 228 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4543, allocations: 0 / 1.157 GB, free: 228 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000816/0.4551, allocations: 0.5488 MB / 1.158 GB, free: 15.63 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002916/0.458, allocations: 0.5241 MB / 1.158 GB, free: 15.11 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003647/0.4617, allocations: 2.271 MB / 1.161 GB, free: 12.78 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008857/0.4626, allocations: 1.072 MB / 1.162 GB, free: 11.68 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0008667/0.4635, allocations: 212.5 kB / 1.162 GB, free: 11.48 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.4637, allocations: 75.42 kB / 1.162 GB, free: 11.41 MB / 0.92 GB Notification: Performance of SimCode: time 8.71e-07/0.4637, allocations: 0 / 1.162 GB, free: 11.41 MB / 0.92 GB Notification: Performance of Templates: time 0.04376/0.5075, allocations: 23.6 MB / 1.185 GB, free: 4.125 MB / 0.9356 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches