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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0008343/0.0008343, allocations: 90.52 kB / 15.36 MB, free: 0.7344 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.005605/0.005606, allocations: 169 kB / 16.26 MB, free: 6.68 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.348/1.348, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.74/2.74, allocations: 462.7 MB / 0.7364 GB, free: 292 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003552, allocations: 12.66 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2979, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03725/0.3352, allocations: 40.89 MB / 1.099 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01172/0.347, allocations: 8.874 MB / 1.107 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.3483, allocations: 31.81 kB / 1.107 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.3496, allocations: 493.6 kB / 1.108 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002922/0.3526, allocations: 1.167 MB / 1.109 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002617/0.3552, allocations: 1.055 MB / 1.11 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003459/0.3587, allocations: 3.34 MB / 1.113 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.3597, allocations: 0.7495 MB / 1.114 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001502/0.3613, allocations: 0.8321 MB / 1.115 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008396/0.3621, allocations: 0.692 MB / 1.115 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.874e-05/0.3622, allocations: 36 kB / 1.115 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.3642, allocations: 1.064 MB / 1.116 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002446/0.3645, allocations: 251 kB / 1.117 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005371/0.365, allocations: 0.5651 MB / 1.117 GB, free: 9.234 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.3674, allocations: 2.231 MB / 1.119 GB, free: 6.996 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3674, allocations: 0 / 1.119 GB, free: 6.996 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3674, allocations: 0 / 1.119 GB, free: 6.996 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.3675, allocations: 0 / 1.119 GB, free: 6.996 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.00222/0.3697, allocations: 1.511 MB / 1.121 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3697, allocations: 11.97 kB / 1.121 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/0.37, allocations: 131.4 kB / 1.121 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.3716, allocations: 1.074 MB / 1.122 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.844e-05/0.3716, allocations: 53.31 kB / 1.122 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.3717, allocations: 68 kB / 1.122 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.3731, allocations: 0.8058 MB / 1.123 GB, free: 3.184 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.3731, allocations: 7.938 kB / 1.123 GB, free: 3.176 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-05/0.3732, allocations: 28 kB / 1.123 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/0.3732, allocations: 16 kB / 1.123 GB, free: 3.133 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.3743, allocations: 0.618 MB / 1.124 GB, free: 2.516 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.003799/0.3781, allocations: 3.22 MB / 1.127 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007714/0.3789, allocations: 471.4 kB / 1.127 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004631/0.3793, allocations: 308.7 kB / 1.128 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007659/0.3801, allocations: 0.7831 MB / 1.128 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.3801, allocations: 34.56 kB / 1.128 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=38): time 2.895e-06/0.3802, allocations: 0 / 1.128 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of matching and sorting (n=38): time 0.001589/0.3817, allocations: 1.022 MB / 1.129 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.3818, allocations: 136.5 kB / 1.13 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.3832, allocations: 1.079 MB / 1.131 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.852e-05/0.3832, allocations: 33.7 kB / 1.131 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003601/0.3836, allocations: 464.5 kB / 1.131 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.3837, allocations: 134.1 kB / 1.131 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.24e-05/0.3838, allocations: 53.69 kB / 1.131 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.3839, allocations: 326 kB / 1.132 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005166/0.3844, allocations: 352.8 kB / 1.132 GB, free: 9.699 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000576/0.385, allocations: 454.7 kB / 1.132 GB, free: 9.227 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.3861, allocations: 0.9871 MB / 1.133 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3861, allocations: 4 kB / 1.133 GB, free: 8.156 MB / 0.8887 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001485/0.3876, allocations: 1.115 MB / 1.134 GB, free: 6.996 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001633/0.3878, allocations: 319.4 kB / 1.135 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3878, allocations: 4 kB / 1.135 GB, free: 6.613 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3878, allocations: 4 kB / 1.135 GB, free: 6.609 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.3882, allocations: 83.89 kB / 1.135 GB, free: 6.527 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.3882, allocations: 11.92 kB / 1.135 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006458/0.3889, allocations: 111.9 kB / 1.135 GB, free: 6.406 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.623e-05/0.389, allocations: 31.92 kB / 1.135 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.171e-06/0.389, allocations: 4 kB / 1.135 GB, free: 6.371 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001458/0.3904, allocations: 1.116 MB / 1.136 GB, free: 5.219 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.3904, allocations: 0 / 1.136 GB, free: 5.219 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/0.3905, allocations: 7.938 kB / 1.136 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.3908, allocations: 87.89 kB / 1.136 GB, free: 5.125 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3908, allocations: 4 kB / 1.136 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005918/0.3914, allocations: 99.44 kB / 1.136 GB, free: 5.023 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-05/0.3915, allocations: 24 kB / 1.136 GB, free: 5 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.0005156/0.392, allocations: 487.5 kB / 1.137 GB, free: 4.496 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.3921, allocations: 106.7 kB / 1.137 GB, free: 4.391 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.3936, allocations: 0.9223 MB / 1.138 GB, free: 3.449 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.3936, allocations: 4 kB / 1.138 GB, free: 3.445 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3936, allocations: 0 / 1.138 GB, free: 3.445 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00111/0.3947, allocations: 0.993 MB / 1.139 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002882/0.3976, allocations: 2.141 MB / 1.141 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.3976, allocations: 4 kB / 1.141 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.3979, allocations: 63.91 kB / 1.141 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.3979, allocations: 4 kB / 1.141 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/0.398, allocations: 15.98 kB / 1.141 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.882e-06/0.398, allocations: 7.938 kB / 1.141 GB, free: 12 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.398, allocations: 7.938 kB / 1.141 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.3998, allocations: 1.404 MB / 1.142 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/0.4002, allocations: 295.6 kB / 1.142 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.4003, allocations: 19.94 kB / 1.142 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005443/0.4009, allocations: 62.11 kB / 1.143 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.401, allocations: 55.94 kB / 1.143 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.4011, allocations: 23.98 kB / 1.143 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009994/0.4021, allocations: 0.7728 MB / 1.143 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4021, allocations: 0 / 1.143 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001301/0.4034, allocations: 0.5187 MB / 1.144 GB, free: 12.77 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.0007743/0.4042, allocations: 388.7 kB / 1.144 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002202/0.4064, allocations: 1.958 MB / 1.146 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4064, allocations: 0 / 1.146 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006641/0.4071, allocations: 0.5505 MB / 1.147 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/0.4098, allocations: 0.5189 MB / 1.147 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.4126, allocations: 2.284 MB / 1.149 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/0.4132, allocations: 1.064 MB / 1.15 GB, free: 5.754 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007018/0.4139, allocations: 211.9 kB / 1.151 GB, free: 5.555 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.4141, allocations: 79.42 kB / 1.151 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of SimCode: time 5.81e-07/0.4141, allocations: 0 / 1.151 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of Templates: time 0.0386/0.4527, allocations: 23.59 MB / 1.174 GB, free: 14.19 MB / 0.9356 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/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