Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008338/0.0008339, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.000869/0.0008691, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.55/2.55, allocations: 437.7 MB / 0.7117 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003049, allocations: 8 kB / 0.8722 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5506/0.5509, allocations: 153.8 MB / 1.022 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03593/0.5868, allocations: 38.69 MB / 1.06 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01054/0.5974, allocations: 8.287 MB / 1.068 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007831/0.5982, allocations: 35.81 kB / 1.068 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.5993, allocations: 413.5 kB / 1.069 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.002093/0.6014, allocations: 0.987 MB / 1.07 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.6036, allocations: 0.8448 MB / 1.071 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00283/0.6064, allocations: 2.899 MB / 1.073 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000854/0.6073, allocations: 0.6358 MB / 1.074 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.6085, allocations: 0.7893 MB / 1.075 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000741/0.6093, allocations: 0.6532 MB / 1.075 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.903e-05/0.6094, allocations: 40 kB / 1.075 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.611, allocations: 0.8694 MB / 1.076 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.6113, allocations: 235.1 kB / 1.076 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.6115, allocations: 257.1 kB / 1.077 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001629/0.6131, allocations: 1.746 MB / 1.078 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6131, allocations: 0 / 1.078 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.644e-06/0.6131, allocations: 0 / 1.078 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.6132, allocations: 0 / 1.078 GB, free: 6.66 MB / 0.8262 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.002085/0.6153, allocations: 1.522 MB / 1.08 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.6153, allocations: 16.02 kB / 1.08 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002578/0.6156, allocations: 130.5 kB / 1.08 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.6171, allocations: 1.031 MB / 1.081 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.6172, allocations: 53.27 kB / 1.081 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.6173, allocations: 68 kB / 1.081 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.6186, allocations: 0.8097 MB / 1.082 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.6186, allocations: 0 / 1.082 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.379e-05/0.6187, allocations: 28 kB / 1.082 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.6187, allocations: 19.94 kB / 1.082 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.6198, allocations: 0.618 MB / 1.083 GB, free: 2.207 MB / 0.8262 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.003712/0.6235, allocations: 3.22 MB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007622/0.6243, allocations: 468.3 kB / 1.086 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004675/0.6248, allocations: 316.7 kB / 1.087 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007416/0.6255, allocations: 0.7753 MB / 1.087 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.6255, allocations: 42.56 kB / 1.087 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=38): time 1.843e-06/0.6256, allocations: 0 / 1.087 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of matching and sorting (n=38): time 0.00156/0.6271, allocations: 1.005 MB / 1.088 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.6272, allocations: 144.5 kB / 1.088 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.6285, allocations: 1.063 MB / 1.089 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.496e-05/0.6286, allocations: 37.7 kB / 1.089 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000365/0.6289, allocations: 468.6 kB / 1.09 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.629, allocations: 126.1 kB / 1.09 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.6291, allocations: 8 kB / 1.09 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.6292, allocations: 333.9 kB / 1.09 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005113/0.6297, allocations: 352.8 kB / 1.091 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005839/0.6303, allocations: 458.7 kB / 1.091 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006306/0.6309, allocations: 0.5313 MB / 1.092 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.631, allocations: 4 kB / 1.092 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001446/0.6324, allocations: 1.104 MB / 1.093 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.6326, allocations: 315.4 kB / 1.093 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.6326, allocations: 8 kB / 1.093 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.6326, allocations: 4 kB / 1.093 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.633, allocations: 95.88 kB / 1.093 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.633, allocations: 11.89 kB / 1.093 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005712/0.6336, allocations: 107.2 kB / 1.093 GB, free: 6.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-05/0.6336, allocations: 24 kB / 1.093 GB, free: 6.637 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.102e-06/0.6337, allocations: 4 kB / 1.093 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001448/0.6351, allocations: 1.105 MB / 1.094 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.6351, allocations: 4.062 kB / 1.094 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/0.6351, allocations: 8 kB / 1.094 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.6355, allocations: 92.11 kB / 1.094 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.6355, allocations: 7.938 kB / 1.094 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005292/0.636, allocations: 104.6 kB / 1.095 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/0.6361, allocations: 23.98 kB / 1.095 GB, free: 5.254 MB / 0.8419 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004486/0.6365, allocations: 482 kB / 1.095 GB, free: 4.754 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.6367, allocations: 102.7 kB / 1.095 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.6381, allocations: 0.9338 MB / 1.096 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.6381, allocations: 7.984 kB / 1.096 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6381, allocations: 4 kB / 1.096 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001112/0.6392, allocations: 0.9796 MB / 1.097 GB, free: 2.617 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/0.6421, allocations: 2.119 MB / 1.099 GB, free: 388 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6421, allocations: 7.938 kB / 1.099 GB, free: 380 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.6424, allocations: 72.17 kB / 1.099 GB, free: 308 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.6424, allocations: 8 kB / 1.099 GB, free: 300 kB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.6425, allocations: 12 kB / 1.099 GB, free: 288 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.6425, allocations: 4 kB / 1.099 GB, free: 284 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.6425, allocations: 11.89 kB / 1.099 GB, free: 272 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.6443, allocations: 1.417 MB / 1.101 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003749/0.6447, allocations: 299.5 kB / 1.101 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.6448, allocations: 16 kB / 1.101 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005205/0.6454, allocations: 61.03 kB / 1.101 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.6455, allocations: 43.91 kB / 1.101 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/0.6456, allocations: 23.98 kB / 1.101 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0009822/0.6465, allocations: 0.7689 MB / 1.102 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6466, allocations: 0 / 1.102 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001226/0.6478, allocations: 0.5109 MB / 1.102 GB, free: 13.05 MB / 0.8575 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 (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.0006975/0.6485, allocations: 390.4 kB / 1.103 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002157/0.6507, allocations: 1.947 MB / 1.105 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6507, allocations: 4.062 kB / 1.105 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000657/0.6513, allocations: 0.5487 MB / 1.105 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.6535, allocations: 0.5011 MB / 1.106 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002782/0.6563, allocations: 2.273 MB / 1.108 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006135/0.6569, allocations: 1.072 MB / 1.109 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006624/0.6576, allocations: 212.5 kB / 1.109 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.6577, allocations: 75.42 kB / 1.109 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.6577, allocations: 0 / 1.109 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of Templates: time 0.0334/0.6911, allocations: 22.42 MB / 1.131 GB, free: 15.68 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches