Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001052/0.001052, allocations: 91.92 kB / 16.02 MB, free: 80 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.001327/0.001328, allocations: 176.8 kB / 16.92 MB, free: 6.652 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.56/1.56, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.559/2.559, allocations: 390.9 MB / 0.667 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003894, allocations: 16 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8318/0.8322, allocations: 142.4 MB / 0.9557 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.04098/0.8732, allocations: 40.88 MB / 0.9956 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01389/0.8871, allocations: 8.876 MB / 1.004 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/0.889, allocations: 31.81 kB / 1.004 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.8906, allocations: 479.4 kB / 1.005 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003774/0.8944, allocations: 1.177 MB / 1.006 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003134/0.8975, allocations: 1.051 MB / 1.007 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004422/0.9019, allocations: 3.355 MB / 1.01 GB, free: 7.324 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.9032, allocations: 0.7416 MB / 1.011 GB, free: 6.562 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001848/0.9051, allocations: 0.8321 MB / 1.012 GB, free: 5.727 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.9061, allocations: 0.6881 MB / 1.012 GB, free: 5.035 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.166e-05/0.9062, allocations: 40 kB / 1.012 GB, free: 4.996 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/0.9087, allocations: 1.064 MB / 1.014 GB, free: 3.93 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003343/0.909, allocations: 247 kB / 1.014 GB, free: 3.688 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0006591/0.9097, allocations: 0.569 MB / 1.014 GB, free: 3.109 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002181/0.9119, allocations: 1.788 MB / 1.016 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.9119, allocations: 0 / 1.016 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.784e-06/0.9119, allocations: 0 / 1.016 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.9119, allocations: 0 / 1.016 GB, free: 1.316 MB / 0.7637 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.002536/0.9145, allocations: 1.512 MB / 1.018 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.9145, allocations: 12.03 kB / 1.018 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003602/0.9149, allocations: 127.4 kB / 1.018 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.9166, allocations: 1.073 MB / 1.019 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.498e-05/0.9167, allocations: 49.31 kB / 1.019 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.9168, allocations: 68 kB / 1.019 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.9182, allocations: 0.8136 MB / 1.02 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.9183, allocations: 0 / 1.02 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.397e-05/0.9183, allocations: 24 kB / 1.02 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/0.9184, allocations: 20 kB / 1.02 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.9195, allocations: 0.618 MB / 1.02 GB, free: 12.84 MB / 0.7794 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.004278/0.9238, allocations: 3.224 MB / 1.023 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008211/0.9246, allocations: 462.9 kB / 1.024 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005258/0.9252, allocations: 314.5 kB / 1.024 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008814/0.9261, allocations: 0.7831 MB / 1.025 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.9261, allocations: 46.55 kB / 1.025 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=38): time 1.884e-06/0.9261, allocations: 0 / 1.025 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of matching and sorting (n=38): time 0.00177/0.9279, allocations: 1.005 MB / 1.026 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.091e-05/0.928, allocations: 148.4 kB / 1.026 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/0.9296, allocations: 1.075 MB / 1.027 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.135e-05/0.9297, allocations: 37.7 kB / 1.027 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004372/0.9301, allocations: 468.5 kB / 1.028 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.9303, allocations: 134.1 kB / 1.028 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-05/0.9304, allocations: 53.69 kB / 1.028 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.9305, allocations: 329.9 kB / 1.028 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005604/0.9311, allocations: 356.8 kB / 1.028 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006246/0.9317, allocations: 450.7 kB / 1.029 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.9329, allocations: 0.9796 MB / 1.03 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.9329, allocations: 0 / 1.03 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001618/0.9346, allocations: 1.115 MB / 1.031 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002225/0.9348, allocations: 323.4 kB / 1.031 GB, free: 0.9219 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.9348, allocations: 0 / 1.031 GB, free: 0.9219 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.9348, allocations: 4 kB / 1.031 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.9352, allocations: 99.81 kB / 1.031 GB, free: 0.8203 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.9352, allocations: 11.94 kB / 1.031 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007079/0.936, allocations: 119.1 kB / 1.031 GB, free: 0.6914 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.612e-05/0.936, allocations: 20 kB / 1.032 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/0.936, allocations: 4 kB / 1.032 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001574/0.9376, allocations: 1.109 MB / 1.033 GB, free: 15.53 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.9376, allocations: 4 kB / 1.033 GB, free: 15.53 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-06/0.9376, allocations: 4 kB / 1.033 GB, free: 15.52 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/0.938, allocations: 91.89 kB / 1.033 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.938, allocations: 0 / 1.033 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006075/0.9386, allocations: 103.6 kB / 1.033 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.193e-05/0.9387, allocations: 23.98 kB / 1.033 GB, free: 15.31 MB / 0.795 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.000733/0.9394, allocations: 482 kB / 1.033 GB, free: 14.81 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/0.9397, allocations: 102.8 kB / 1.033 GB, free: 14.71 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.9413, allocations: 0.9274 MB / 1.034 GB, free: 13.76 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.9413, allocations: 7.984 kB / 1.034 GB, free: 13.75 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9414, allocations: 0 / 1.034 GB, free: 13.75 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00126/0.9426, allocations: 0.9881 MB / 1.035 GB, free: 12.68 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003322/0.946, allocations: 2.121 MB / 1.037 GB, free: 10.43 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.946, allocations: 4 kB / 1.037 GB, free: 10.43 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.9463, allocations: 75.95 kB / 1.037 GB, free: 10.36 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.9463, allocations: 11.88 kB / 1.037 GB, free: 10.34 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.728e-05/0.9463, allocations: 12 kB / 1.037 GB, free: 10.33 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.9464, allocations: 7.938 kB / 1.037 GB, free: 10.32 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.9464, allocations: 3.984 kB / 1.037 GB, free: 10.32 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/0.9485, allocations: 1.424 MB / 1.039 GB, free: 8.832 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004998/0.949, allocations: 295.6 kB / 1.039 GB, free: 8.523 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.9492, allocations: 24 kB / 1.039 GB, free: 8.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00054/0.9497, allocations: 59.81 kB / 1.039 GB, free: 8.441 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.9498, allocations: 47.94 kB / 1.039 GB, free: 8.395 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/0.9499, allocations: 23.98 kB / 1.039 GB, free: 8.371 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001139/0.9511, allocations: 0.7728 MB / 1.04 GB, free: 7.59 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9511, allocations: 0 / 1.04 GB, free: 7.59 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001477/0.9525, allocations: 0.507 MB / 1.04 GB, free: 7.082 MB / 0.795 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.0009401/0.9535, allocations: 402 kB / 1.041 GB, free: 6.691 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002521/0.956, allocations: 1.955 MB / 1.043 GB, free: 4.586 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.956, allocations: 0 / 1.043 GB, free: 4.586 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0007456/0.9568, allocations: 0.5498 MB / 1.043 GB, free: 4 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00286/0.9597, allocations: 0.5062 MB / 1.044 GB, free: 3.504 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/0.963, allocations: 2.332 MB / 1.046 GB, free: 1.109 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006963/0.9638, allocations: 1.072 MB / 1.047 GB, free: 8 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.964, allocations: 75.42 kB / 1.047 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of SimCode: time 7.11e-07/0.964, allocations: 3.938 kB / 1.047 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of Templates: time 0.03321/0.9972, allocations: 19.15 MB / 1.066 GB, free: 12.98 MB / 0.8262 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches