Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002642/0.002642, allocations: 83.7 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003236/0.003236, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.807/1.807, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.266/3.266, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.965e-06/2.965e-06, allocations: 0 / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.012e-05/4.308e-05, allocations: 8.641 kB / 0.8109 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003613/0.003657, allocations: 1.638 MB / 0.8125 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005385/0.009041, allocations: 3.398 MB / 0.8158 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.13e-05/0.009123, allocations: 0 / 0.8158 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.242e-05/0.009165, allocations: 7.922 kB / 0.8158 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.009288, allocations: 17.06 kB / 0.8158 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006862/0.009974, allocations: 133.1 kB / 0.8159 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.01015, allocations: 88.3 kB / 0.816 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.01026, allocations: 11.98 kB / 0.816 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.01047, allocations: 56.75 kB / 0.8161 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.01057, allocations: 27.91 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.01059, allocations: 9.156 kB / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.01089, allocations: 107.6 kB / 0.8162 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.941e-05/0.01092, allocations: 13.09 kB / 0.8162 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.01097, allocations: 23.92 kB / 0.8162 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.01131, allocations: 131.6 kB / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.01131, allocations: 0.8125 kB / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.473e-06/0.01131, allocations: 4 kB / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.01132, allocations: 4.469 kB / 0.8164 GB, free: 12.42 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007526/0.01207, allocations: 428.7 kB / 0.8168 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.01212, allocations: 10.09 kB / 0.8168 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/0.01235, allocations: 24.88 kB / 0.8168 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.01258, allocations: 132.5 kB / 0.8169 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.0126, allocations: 8.375 kB / 0.817 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.01261, allocations: 4.938 kB / 0.817 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.01283, allocations: 76.75 kB / 0.817 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.01284, allocations: 192 / 0.817 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.01286, allocations: 4.125 kB / 0.817 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.01286, allocations: 0 / 0.817 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.01307, allocations: 71.89 kB / 0.8171 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006023/0.01368, allocations: 321.4 kB / 0.8174 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.01395, allocations: 95.02 kB / 0.8175 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.01407, allocations: 35.86 kB / 0.8175 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008059/0.01487, allocations: 457.5 kB / 0.818 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.01491, allocations: 33.39 kB / 0.818 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.01491, allocations: 0 / 0.818 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0004419/0.01535, allocations: 133.6 kB / 0.8181 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.01541, allocations: 55.44 kB / 0.8182 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.01561, allocations: 196.3 kB / 0.8184 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.01563, allocations: 25.7 kB / 0.8184 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.01576, allocations: 142.8 kB / 0.8185 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.01579, allocations: 31.73 kB / 0.8186 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/0.01585, allocations: 25.22 kB / 0.8186 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003221/0.01618, allocations: 0.4961 MB / 0.8191 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.432e-05/0.01626, allocations: 27.98 kB / 0.8191 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.01637, allocations: 47.36 kB / 0.8191 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.01654, allocations: 72.64 kB / 0.8192 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01655, allocations: 0 / 0.8192 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002486/0.01679, allocations: 118.7 kB / 0.8193 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.01681, allocations: 9.062 kB / 0.8193 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.01682, allocations: 0 / 0.8193 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.01684, allocations: 0 / 0.8193 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.01698, allocations: 21.05 kB / 0.8194 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.01698, allocations: 4 kB / 0.8194 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.207e-05/0.01705, allocations: 4 kB / 0.8194 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.01705, allocations: 0.7812 kB / 0.8194 GB, free: 9.152 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001512/0.01721, allocations: 171 kB / 0.8195 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.01724, allocations: 7.953 kB / 0.8195 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/0.01756, allocations: 118 kB / 0.8196 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.01756, allocations: 0 / 0.8196 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.01756, allocations: 0 / 0.8196 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01757, allocations: 1.75 kB / 0.8197 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.0178, allocations: 160.4 kB / 0.8198 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.0178, allocations: 3.938 kB / 0.8198 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.01791, allocations: 19.98 kB / 0.8198 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.01791, allocations: 0 / 0.8198 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.01792, allocations: 0.5938 kB / 0.8198 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01792, allocations: 1.281 kB / 0.8198 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01792, allocations: 0 / 0.8198 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.01826, allocations: 251.8 kB / 0.8201 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.01828, allocations: 11.98 kB / 0.8201 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.0183, allocations: 7.922 kB / 0.8201 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.894e-05/0.01839, allocations: 8 kB / 0.8201 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.01845, allocations: 7.984 kB / 0.8201 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.01846, allocations: 0 / 0.8201 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001187/0.01857, allocations: 143.2 kB / 0.8202 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01857, allocations: 0 / 0.8202 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002524/0.01883, allocations: 19.94 kB / 0.8203 GB, free: 8.168 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002786/0.01911, allocations: 119.2 kB / 0.8204 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002565/0.01936, allocations: 79.58 kB / 0.8204 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01936, allocations: 0 / 0.8204 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.01946, allocations: 43.66 kB / 0.8205 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.01973, allocations: 15.94 kB / 0.8205 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005144/0.02024, allocations: 206.7 kB / 0.8207 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.427e-05/0.02034, allocations: 79.25 kB / 0.8208 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.609e-05/0.02039, allocations: 8.719 kB / 0.8208 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.02044, allocations: 12.5 kB / 0.8208 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of SimCode: time 8.42e-07/0.02044, allocations: 4 kB / 0.8208 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of Templates: time 0.004795/0.02523, allocations: 1.06 MB / 0.8218 GB, free: 6.504 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.369187474949285]