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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008542/0.0008541, allocations: 98.88 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009746/0.0009747, allocations: 181.3 kB / 16.92 MB, free: 6.918 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.42/1.42, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.716/2.716, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.000364, allocations: 15.62 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3351, allocations: 159.6 MB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.04243/0.3776, allocations: 40.88 MB / 1.099 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01347/0.3911, allocations: 8.878 MB / 1.108 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/0.3929, allocations: 35.75 kB / 1.108 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.3949, allocations: 0.4899 MB / 1.108 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004064/0.3989, allocations: 1.155 MB / 1.11 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0034/0.4024, allocations: 1.054 MB / 1.111 GB, free: 272 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004616/0.407, allocations: 3.355 MB / 1.114 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/0.4086, allocations: 0.7417 MB / 1.115 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002229/0.4108, allocations: 0.832 MB / 1.115 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.4122, allocations: 0.6881 MB / 1.116 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002432/0.4125, allocations: 44 kB / 1.116 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002669/0.4152, allocations: 1.06 MB / 1.117 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004322/0.4156, allocations: 250.9 kB / 1.117 GB, free: 9.258 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.4168, allocations: 0.5691 MB / 1.118 GB, free: 8.68 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002652/0.4194, allocations: 1.781 MB / 1.12 GB, free: 6.895 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.4195, allocations: 3.984 kB / 1.12 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.575e-06/0.4195, allocations: 0 / 1.12 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.988e-05/0.4195, allocations: 0 / 1.12 GB, free: 6.891 MB / 0.8731 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.003335/0.4229, allocations: 1.515 MB / 1.121 GB, free: 5.281 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.4229, allocations: 15.97 kB / 1.121 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004712/0.4234, allocations: 131.4 kB / 1.121 GB, free: 5.137 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/0.4256, allocations: 1.066 MB / 1.122 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.265e-05/0.4257, allocations: 53.31 kB / 1.122 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.4258, allocations: 71.94 kB / 1.122 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.4274, allocations: 0.8175 MB / 1.123 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.4275, allocations: 0 / 1.123 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-05/0.4275, allocations: 28 kB / 1.123 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/0.4276, allocations: 16 kB / 1.123 GB, free: 3.02 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.4288, allocations: 0.6258 MB / 1.124 GB, free: 2.395 MB / 0.8731 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.004787/0.4336, allocations: 3.213 MB / 1.127 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008294/0.4345, allocations: 468.2 kB / 1.128 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000503/0.435, allocations: 316.7 kB / 1.128 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008849/0.4359, allocations: 0.7792 MB / 1.129 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.436, allocations: 34.56 kB / 1.129 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=38): time 2.595e-06/0.436, allocations: 0 / 1.129 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of matching and sorting (n=38): time 0.001776/0.4378, allocations: 1.022 MB / 1.13 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.4379, allocations: 136.5 kB / 1.13 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.4395, allocations: 1.071 MB / 1.131 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.328e-05/0.4396, allocations: 37.7 kB / 1.131 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/0.44, allocations: 468.5 kB / 1.131 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.4401, allocations: 130.1 kB / 1.131 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.606e-05/0.4402, allocations: 53.69 kB / 1.131 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4403, allocations: 330 kB / 1.132 GB, free: 9.93 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005104/0.4409, allocations: 348.8 kB / 1.132 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005815/0.4415, allocations: 454.8 kB / 1.133 GB, free: 9.117 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.4426, allocations: 0.9832 MB / 1.133 GB, free: 8.055 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.4426, allocations: 0 / 1.133 GB, free: 8.055 MB / 0.8887 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001584/0.4442, allocations: 1.119 MB / 1.135 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002082/0.4444, allocations: 319.4 kB / 1.135 GB, free: 6.512 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.4444, allocations: 4 kB / 1.135 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.4445, allocations: 0 / 1.135 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/0.4449, allocations: 103.9 kB / 1.135 GB, free: 6.406 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.4449, allocations: 7.938 kB / 1.135 GB, free: 6.398 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007664/0.4457, allocations: 107.2 kB / 1.135 GB, free: 6.293 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-05/0.4457, allocations: 23.94 kB / 1.135 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.4458, allocations: 9.344 kB / 1.135 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001543/0.4473, allocations: 1.116 MB / 1.136 GB, free: 5.109 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4473, allocations: 0 / 1.136 GB, free: 5.109 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.639e-06/0.4473, allocations: 4 kB / 1.136 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.4477, allocations: 87.89 kB / 1.136 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.4477, allocations: 4.219 kB / 1.136 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007534/0.4485, allocations: 104.1 kB / 1.136 GB, free: 4.914 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-05/0.4485, allocations: 27.98 kB / 1.136 GB, free: 4.887 MB / 0.8887 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.0007065/0.4493, allocations: 478 kB / 1.137 GB, free: 4.391 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/0.4495, allocations: 106.7 kB / 1.137 GB, free: 4.285 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.4512, allocations: 0.925 MB / 1.138 GB, free: 3.34 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.4512, allocations: 4 kB / 1.138 GB, free: 3.336 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.4512, allocations: 3.984 kB / 1.138 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001241/0.4525, allocations: 0.9874 MB / 1.139 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003927/0.4564, allocations: 2.136 MB / 1.141 GB, free: 0 / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.4564, allocations: 0 / 1.141 GB, free: 0 / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003449/0.4568, allocations: 71.89 kB / 1.141 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/0.4568, allocations: 4 kB / 1.141 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.835e-05/0.4569, allocations: 12.28 kB / 1.141 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.328e-06/0.4569, allocations: 11.94 kB / 1.141 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.4569, allocations: 7.938 kB / 1.141 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.4591, allocations: 1.413 MB / 1.142 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006158/0.4597, allocations: 299.6 kB / 1.143 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/0.46, allocations: 12 kB / 1.143 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006791/0.4607, allocations: 62.25 kB / 1.143 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.4609, allocations: 51.94 kB / 1.143 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.1e-05/0.4609, allocations: 20 kB / 1.143 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001512/0.4624, allocations: 0.7767 MB / 1.144 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4624, allocations: 0 / 1.144 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001939/0.4644, allocations: 0.5148 MB / 1.144 GB, free: 12.67 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.001224/0.4656, allocations: 397.3 kB / 1.144 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002828/0.4685, allocations: 1.96 MB / 1.146 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.4685, allocations: 4.062 kB / 1.146 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008086/0.4693, allocations: 0.5409 MB / 1.147 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003451/0.4728, allocations: 0.527 MB / 1.147 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/0.4766, allocations: 2.328 MB / 1.15 GB, free: 6.68 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000745/0.4773, allocations: 1.064 MB / 1.151 GB, free: 5.586 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/0.4777, allocations: 91.3 kB / 1.151 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of SimCode: time 1.182e-06/0.4777, allocations: 0 / 1.151 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of Templates: time 0.03446/0.5121, allocations: 19.15 MB / 1.17 GB, free: 2.531 MB / 0.92 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","/var/lib/jenkins1/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