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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001067/0.001067, allocations: 98.27 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.008243/0.008243, allocations: 169.9 kB / 16.27 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.363/1.363, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.437/2.437, allocations: 390.9 MB / 0.6663 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003327, allocations: 8 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7037/0.704, allocations: 142.4 MB / 0.955 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.04432/0.7484, allocations: 40.89 MB / 0.995 GB, free: 6.34 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01336/0.7618, allocations: 8.884 MB / 1.004 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.7632, allocations: 35.75 kB / 1.004 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.7647, allocations: 483.4 kB / 1.004 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003564/0.7683, allocations: 1.17 MB / 1.005 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.7712, allocations: 1.049 MB / 1.006 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004095/0.7753, allocations: 3.354 MB / 1.01 GB, free: 7.352 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.7765, allocations: 0.7416 MB / 1.01 GB, free: 6.59 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.7783, allocations: 0.8281 MB / 1.011 GB, free: 5.758 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00091/0.7792, allocations: 0.692 MB / 1.012 GB, free: 5.062 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.462e-05/0.7793, allocations: 36 kB / 1.012 GB, free: 5.027 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002151/0.7815, allocations: 1.072 MB / 1.013 GB, free: 3.953 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.7817, allocations: 247 kB / 1.013 GB, free: 3.711 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0006341/0.7824, allocations: 0.5729 MB / 1.014 GB, free: 3.129 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002632/0.785, allocations: 2.216 MB / 1.016 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.785, allocations: 0 / 1.016 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.324e-06/0.785, allocations: 0 / 1.016 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.509e-05/0.7851, allocations: 0 / 1.016 GB, free: 0.9062 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.002476/0.7875, allocations: 1.518 MB / 1.017 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.7876, allocations: 8.031 kB / 1.017 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000291/0.7879, allocations: 135.4 kB / 1.017 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/0.7897, allocations: 1.054 MB / 1.018 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.796e-05/0.7897, allocations: 53.31 kB / 1.019 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.7898, allocations: 75.98 kB / 1.019 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.7913, allocations: 0.8058 MB / 1.019 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.7913, allocations: 7.875 kB / 1.019 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.815e-05/0.7914, allocations: 35.98 kB / 1.019 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/0.7914, allocations: 16 kB / 1.019 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.7926, allocations: 0.618 MB / 1.02 GB, free: 12.42 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.004184/0.7968, allocations: 3.224 MB / 1.023 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008605/0.7976, allocations: 468.3 kB / 1.024 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004864/0.7981, allocations: 314.7 kB / 1.024 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008876/0.799, allocations: 0.7792 MB / 1.025 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.7991, allocations: 34.56 kB / 1.025 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=38): time 2.755e-06/0.7991, allocations: 0 / 1.025 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of matching and sorting (n=38): time 0.001712/0.8008, allocations: 1.021 MB / 1.026 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.294e-05/0.8009, allocations: 140.4 kB / 1.026 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.8024, allocations: 1.079 MB / 1.027 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.544e-05/0.8024, allocations: 37.7 kB / 1.027 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003913/0.8028, allocations: 468.5 kB / 1.027 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.803, allocations: 126.2 kB / 1.028 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.893e-05/0.803, allocations: 53.69 kB / 1.028 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.8032, allocations: 329.9 kB / 1.028 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005521/0.8037, allocations: 348.8 kB / 1.028 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006137/0.8044, allocations: 454.8 kB / 1.029 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.8056, allocations: 0.9835 MB / 1.03 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.8056, allocations: 0 / 1.03 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001617/0.8072, allocations: 1.123 MB / 1.031 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001932/0.8074, allocations: 319.4 kB / 1.031 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.8074, allocations: 4 kB / 1.031 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.8075, allocations: 4 kB / 1.031 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.8079, allocations: 91.81 kB / 1.031 GB, free: 416 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.8079, allocations: 7.938 kB / 1.031 GB, free: 408 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007105/0.8086, allocations: 111.2 kB / 1.031 GB, free: 296 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-05/0.8087, allocations: 27.98 kB / 1.031 GB, free: 268 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.671e-06/0.8087, allocations: 4 kB / 1.031 GB, free: 264 kB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001546/0.8102, allocations: 1.117 MB / 1.032 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-06/0.8103, allocations: 7.969 kB / 1.032 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.932e-06/0.8103, allocations: 4 kB / 1.032 GB, free: 15.1 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.8106, allocations: 87.89 kB / 1.032 GB, free: 15.02 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.8106, allocations: 4 kB / 1.032 GB, free: 15.01 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006186/0.8112, allocations: 99.38 kB / 1.033 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.8113, allocations: 27.98 kB / 1.033 GB, free: 14.89 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.0006167/0.8119, allocations: 481.9 kB / 1.033 GB, free: 14.39 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.8121, allocations: 106.8 kB / 1.033 GB, free: 14.28 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.8136, allocations: 0.9237 MB / 1.034 GB, free: 13.34 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.8136, allocations: 4 kB / 1.034 GB, free: 13.33 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.8136, allocations: 0 / 1.034 GB, free: 13.33 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001255/0.8149, allocations: 0.9842 MB / 1.035 GB, free: 12.26 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/0.8181, allocations: 2.129 MB / 1.037 GB, free: 10.01 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.8182, allocations: 4.031 kB / 1.037 GB, free: 10.01 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003052/0.8185, allocations: 71.89 kB / 1.037 GB, free: 9.938 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.8185, allocations: 7.938 kB / 1.037 GB, free: 9.93 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.8186, allocations: 12 kB / 1.037 GB, free: 9.918 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.8186, allocations: 4 kB / 1.037 GB, free: 9.914 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.8186, allocations: 7.938 kB / 1.037 GB, free: 9.906 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/0.8206, allocations: 1.416 MB / 1.039 GB, free: 8.426 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004427/0.8211, allocations: 295.6 kB / 1.039 GB, free: 8.117 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.8212, allocations: 15.94 kB / 1.039 GB, free: 8.102 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005564/0.8218, allocations: 55.95 kB / 1.039 GB, free: 8.047 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.8219, allocations: 55.92 kB / 1.039 GB, free: 7.992 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.9e-05/0.822, allocations: 20 kB / 1.039 GB, free: 7.973 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001087/0.8231, allocations: 0.7767 MB / 1.04 GB, free: 7.188 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8231, allocations: 0 / 1.04 GB, free: 7.188 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001419/0.8245, allocations: 0.507 MB / 1.04 GB, free: 6.68 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.000956/0.8255, allocations: 398.2 kB / 1.041 GB, free: 6.293 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002477/0.828, allocations: 1.959 MB / 1.043 GB, free: 4.184 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.828, allocations: 3.938 kB / 1.043 GB, free: 4.18 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0007277/0.8287, allocations: 0.5536 MB / 1.043 GB, free: 3.59 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003085/0.8318, allocations: 0.5131 MB / 1.044 GB, free: 3.086 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.8349, allocations: 2.271 MB / 1.046 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006714/0.8356, allocations: 1.068 MB / 1.047 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0007678/0.8364, allocations: 207.3 kB / 1.047 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.8366, allocations: 79.42 kB / 1.047 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of SimCode: time 8.22e-07/0.8366, allocations: 3.938 kB / 1.047 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of Templates: time 0.03935/0.8759, allocations: 23.59 MB / 1.07 GB, free: 8.117 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/jenkins/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