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.002123/0.002123, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002605/0.002605, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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.538/1.538, allocations: 177.1 MB / 203.9 MB, free: 5.59 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 2.991/2.991, allocations: 377.8 MB / 0.6232 GB, free: 8.531 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 1.563e-06/1.563e-06, allocations: 0.875 kB / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.173e-05/3.329e-05, allocations: 3.562 kB / 0.8109 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003583/0.003617, allocations: 1.614 MB / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005493/0.00911, allocations: 3.121 MB / 0.8155 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.681e-05/0.009197, allocations: 0 / 0.8155 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.279e-05/0.009239, allocations: 5.688 kB / 0.8155 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.00934, allocations: 15.84 kB / 0.8155 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007623/0.0101, allocations: 136.6 kB / 0.8156 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.01031, allocations: 98 kB / 0.8157 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.01043, allocations: 7.984 kB / 0.8157 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.01068, allocations: 55.83 kB / 0.8158 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.01078, allocations: 31.89 kB / 0.8158 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.01081, allocations: 8 kB / 0.8158 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003092/0.01112, allocations: 89.72 kB / 0.8159 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.96e-05/0.01115, allocations: 19.92 kB / 0.8159 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.0112, allocations: 19.92 kB / 0.8159 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.01157, allocations: 143.5 kB / 0.8161 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.01157, allocations: 0 / 0.8161 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.462e-06/0.01157, allocations: 0.5 kB / 0.8161 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.01158, allocations: 1.906 kB / 0.8161 GB, free: 12.72 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.0007511/0.01233, allocations: 325.9 kB / 0.8164 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.01238, allocations: 8.031 kB / 0.8164 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002614/0.01264, allocations: 27.34 kB / 0.8164 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.01294, allocations: 133.7 kB / 0.8166 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.01296, allocations: 4.375 kB / 0.8166 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.01297, allocations: 8.312 kB / 0.8166 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.01324, allocations: 82.88 kB / 0.8166 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.01325, allocations: 192 / 0.8166 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.01327, allocations: 9.266 kB / 0.8167 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.01328, allocations: 7.984 kB / 0.8167 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000233/0.01351, allocations: 68.61 kB / 0.8167 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/0.01408, allocations: 257.2 kB / 0.817 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.01436, allocations: 95.31 kB / 0.8171 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.01448, allocations: 38.72 kB / 0.8171 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007939/0.01527, allocations: 349.1 kB / 0.8174 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.01532, allocations: 40.31 kB / 0.8175 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.01532, allocations: 0 / 0.8175 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0004667/0.01579, allocations: 133.8 kB / 0.8176 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000314/0.0161, allocations: 56.75 kB / 0.8177 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.01626, allocations: 125.8 kB / 0.8178 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.01628, allocations: 25.7 kB / 0.8178 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.113e-05/0.01637, allocations: 96.78 kB / 0.8179 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.0164, allocations: 27.75 kB / 0.8179 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.01646, allocations: 26.36 kB / 0.8179 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.01664, allocations: 318.9 kB / 0.8182 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.01675, allocations: 39.56 kB / 0.8183 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.01685, allocations: 45.64 kB / 0.8183 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.01705, allocations: 74 kB / 0.8184 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.01706, allocations: 4 kB / 0.8184 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003108/0.01737, allocations: 123.6 kB / 0.8185 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.01738, allocations: 4 kB / 0.8185 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01739, allocations: 0 / 0.8185 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.01741, allocations: 4 kB / 0.8185 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.01756, allocations: 15.98 kB / 0.8185 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.01757, allocations: 0.9375 kB / 0.8185 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.044e-05/0.01765, allocations: 11.98 kB / 0.8186 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.01766, allocations: 0 / 0.8186 GB, free: 10.01 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.0001211/0.01778, allocations: 124.1 kB / 0.8187 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.01782, allocations: 11.95 kB / 0.8187 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003716/0.01819, allocations: 126.2 kB / 0.8188 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.0182, allocations: 1.844 kB / 0.8188 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.0182, allocations: 4 kB / 0.8188 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.01821, allocations: 0 / 0.8188 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.01842, allocations: 133.1 kB / 0.8189 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.01842, allocations: 4 kB / 0.8189 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.01854, allocations: 20.52 kB / 0.819 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.01854, allocations: 1.469 kB / 0.819 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.01855, allocations: 3.984 kB / 0.819 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01856, allocations: 0 / 0.819 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01856, allocations: 0 / 0.819 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.01892, allocations: 219.4 kB / 0.8192 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.119e-05/0.01894, allocations: 11.95 kB / 0.8192 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.01896, allocations: 0 / 0.8192 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.01908, allocations: 7.984 kB / 0.8192 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.01914, allocations: 8 kB / 0.8192 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.01915, allocations: 3.984 kB / 0.8192 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.303e-05/0.01924, allocations: 97.64 kB / 0.8193 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01924, allocations: 3.938 kB / 0.8193 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002969/0.01954, allocations: 20 kB / 0.8193 GB, free: 9.164 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.0002846/0.01982, allocations: 119.2 kB / 0.8194 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002951/0.02012, allocations: 71.91 kB / 0.8195 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.02012, allocations: 0 / 0.8195 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.02022, allocations: 39.91 kB / 0.8195 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.02064, allocations: 17.89 kB / 0.8196 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006119/0.02125, allocations: 201 kB / 0.8198 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.401e-05/0.02134, allocations: 75.19 kB / 0.8198 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.864e-05/0.02141, allocations: 12.53 kB / 0.8198 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.02146, allocations: 16.48 kB / 0.8199 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.02146, allocations: 3.938 kB / 0.8199 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of Templates: time 0.004601/0.02607, allocations: 1.042 MB / 0.8209 GB, free: 7.543 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 400] 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: 8.313412006013095]