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.0009807/0.0009808, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001071/0.001071, allocations: 172.7 kB / 15.95 MB, free: 208 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.348/1.348, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.68/2.68, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003213, allocations: 9.906 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2445, allocations: 159.6 MB / 1.058 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03857/0.2831, allocations: 38.68 MB / 1.096 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01107/0.2942, allocations: 8.29 MB / 1.104 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.2953, allocations: 39.75 kB / 1.104 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.2967, allocations: 409.5 kB / 1.104 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002656/0.2994, allocations: 0.9896 MB / 1.105 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002453/0.3019, allocations: 0.8524 MB / 1.106 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003308/0.3052, allocations: 2.891 MB / 1.109 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.3063, allocations: 0.6301 MB / 1.11 GB, free: 416 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001584/0.3079, allocations: 0.8049 MB / 1.11 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.3089, allocations: 0.6493 MB / 1.111 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.3091, allocations: 36 kB / 1.111 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.3109, allocations: 0.8694 MB / 1.112 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002824/0.3112, allocations: 239.1 kB / 1.112 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003097/0.3116, allocations: 257.1 kB / 1.112 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001889/0.3135, allocations: 1.749 MB / 1.114 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3135, allocations: 0 / 1.114 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3135, allocations: 0 / 1.114 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.859e-05/0.3135, allocations: 0 / 1.114 GB, free: 11.79 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.002494/0.316, allocations: 1.522 MB / 1.116 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.3161, allocations: 8.031 kB / 1.116 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002909/0.3164, allocations: 130.5 kB / 1.116 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.318, allocations: 1.038 MB / 1.117 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.249e-05/0.318, allocations: 49.31 kB / 1.117 GB, free: 8.906 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.3182, allocations: 68 kB / 1.117 GB, free: 8.84 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.3195, allocations: 0.8019 MB / 1.118 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.3196, allocations: 4 kB / 1.118 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.445e-05/0.3196, allocations: 24 kB / 1.118 GB, free: 7.988 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.3197, allocations: 19.94 kB / 1.118 GB, free: 7.969 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.3208, allocations: 0.618 MB / 1.118 GB, free: 7.352 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.00384/0.3246, allocations: 3.22 MB / 1.121 GB, free: 3.965 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000772/0.3254, allocations: 458.9 kB / 1.122 GB, free: 3.508 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004679/0.3259, allocations: 323.4 kB / 1.122 GB, free: 3.191 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007691/0.3267, allocations: 0.7714 MB / 1.123 GB, free: 2.254 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.3267, allocations: 46.55 kB / 1.123 GB, free: 2.199 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=38): time 2.054e-06/0.3267, allocations: 0 / 1.123 GB, free: 2.199 MB / 0.8731 GB Notification: Performance of matching and sorting (n=38): time 0.00165/0.3284, allocations: 0.9975 MB / 1.124 GB, free: 1.176 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.3284, allocations: 148.5 kB / 1.124 GB, free: 1 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.3298, allocations: 1.071 MB / 1.125 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.3298, allocations: 33.7 kB / 1.125 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003787/0.3302, allocations: 476.4 kB / 1.126 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.3304, allocations: 122.2 kB / 1.126 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.3304, allocations: 12 kB / 1.126 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.3305, allocations: 329.9 kB / 1.126 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005161/0.331, allocations: 352.8 kB / 1.126 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005885/0.3316, allocations: 454.7 kB / 1.127 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006336/0.3323, allocations: 0.5391 MB / 1.127 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.3323, allocations: 4 kB / 1.127 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001498/0.3338, allocations: 1.104 MB / 1.128 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001703/0.334, allocations: 323.4 kB / 1.129 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.334, allocations: 8 kB / 1.129 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.334, allocations: 4 kB / 1.129 GB, free: 12 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.3344, allocations: 99.83 kB / 1.129 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3344, allocations: 0 / 1.129 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000602/0.335, allocations: 111.2 kB / 1.129 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/0.3351, allocations: 24 kB / 1.129 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.213e-06/0.3351, allocations: 6.031 kB / 1.129 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001471/0.3366, allocations: 1.105 MB / 1.13 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/0.3366, allocations: 0 / 1.13 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.047e-06/0.3366, allocations: 4 kB / 1.13 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.3369, allocations: 100 kB / 1.13 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.337, allocations: 4.062 kB / 1.13 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005353/0.3375, allocations: 104.1 kB / 1.13 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/0.3376, allocations: 27.98 kB / 1.13 GB, free: 10.4 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.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.0004912/0.3381, allocations: 474.1 kB / 1.131 GB, free: 9.906 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.3382, allocations: 98.78 kB / 1.131 GB, free: 9.809 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.3397, allocations: 0.9261 MB / 1.132 GB, free: 8.859 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.3397, allocations: 4 kB / 1.132 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3397, allocations: 4 kB / 1.132 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001127/0.3408, allocations: 0.9878 MB / 1.133 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00302/0.3439, allocations: 2.132 MB / 1.135 GB, free: 5.523 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.3439, allocations: 4 kB / 1.135 GB, free: 5.52 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/0.3442, allocations: 72.17 kB / 1.135 GB, free: 5.449 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.3442, allocations: 8 kB / 1.135 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/0.3443, allocations: 12 kB / 1.135 GB, free: 5.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/0.3443, allocations: 7.953 kB / 1.135 GB, free: 5.422 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3443, allocations: 3.938 kB / 1.135 GB, free: 5.418 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.3461, allocations: 1.409 MB / 1.136 GB, free: 3.949 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004074/0.3466, allocations: 299.7 kB / 1.137 GB, free: 3.637 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.3467, allocations: 12 kB / 1.137 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005322/0.3473, allocations: 55.92 kB / 1.137 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.3474, allocations: 55.83 kB / 1.137 GB, free: 3.516 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/0.3475, allocations: 20 kB / 1.137 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001066/0.3485, allocations: 0.7689 MB / 1.137 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3485, allocations: 3.938 kB / 1.137 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001331/0.3499, allocations: 0.5109 MB / 1.138 GB, free: 2.203 MB / 0.8887 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.0007739/0.3507, allocations: 375.8 kB / 1.138 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002264/0.3529, allocations: 1.952 MB / 1.14 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.353, allocations: 8 kB / 1.14 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006765/0.3536, allocations: 0.5409 MB / 1.141 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/0.3558, allocations: 0.5106 MB / 1.141 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.3589, allocations: 2.283 MB / 1.143 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006657/0.3596, allocations: 1.076 MB / 1.144 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007396/0.3603, allocations: 210.1 kB / 1.145 GB, free: 11 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.3605, allocations: 71.42 kB / 1.145 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of SimCode: time 4.9e-07/0.3605, allocations: 4 kB / 1.145 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of Templates: time 0.03549/0.396, allocations: 22.43 MB / 1.167 GB, free: 4.828 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/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