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.001608/0.001608, allocations: 83.81 kB / 19.76 MB, free: 2.016 MB / 14.72 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.001721/0.001721, allocations: 154.2 kB / 23.01 MB, free: 4.973 MB / 14.72 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.423/1.423, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.763/2.763, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 70.08 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8041/0.8063, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002609/0.8089, allocations: 1.614 MB / 1.156 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002844/0.8118, allocations: 3.127 MB / 1.159 GB, free: 30.07 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.248e-05/0.8119, allocations: 3.938 kB / 1.159 GB, free: 30.06 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.961e-05/0.8119, allocations: 3.938 kB / 1.159 GB, free: 30.06 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.066e-05/0.812, allocations: 18 kB / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.8125, allocations: 134.3 kB / 1.159 GB, free: 29.98 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.8126, allocations: 86.78 kB / 1.159 GB, free: 29.94 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.01e-05/0.8127, allocations: 8.672 kB / 1.159 GB, free: 29.94 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.8128, allocations: 49.48 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.251e-05/0.8129, allocations: 32.73 kB / 1.159 GB, free: 29.9 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.813, allocations: 5.625 kB / 1.159 GB, free: 29.9 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002721/0.8132, allocations: 103.5 kB / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.8132, allocations: 13.44 kB / 1.159 GB, free: 29.86 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.26e-05/0.8133, allocations: 27.91 kB / 1.159 GB, free: 29.84 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.8135, allocations: 128.2 kB / 1.159 GB, free: 29.8 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8135, allocations: 0 / 1.159 GB, free: 29.8 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8135, allocations: 0 / 1.159 GB, free: 29.8 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.8135, allocations: 0 / 1.159 GB, free: 29.8 MB / 1.076 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.0004606/0.814, allocations: 316.9 kB / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.814, allocations: 8.094 kB / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.8142, allocations: 30.38 kB / 1.159 GB, free: 29.5 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.8144, allocations: 145.8 kB / 1.16 GB, free: 29.34 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.8144, allocations: 7.062 kB / 1.16 GB, free: 29.34 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.8144, allocations: 3.375 kB / 1.16 GB, free: 29.34 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.8146, allocations: 89.23 kB / 1.16 GB, free: 29.29 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.8146, allocations: 0 / 1.16 GB, free: 29.29 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.8146, allocations: 3.328 kB / 1.16 GB, free: 29.29 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.8146, allocations: 3.938 kB / 1.16 GB, free: 29.28 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.8148, allocations: 76.02 kB / 1.16 GB, free: 29.26 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.8151, allocations: 264 kB / 1.16 GB, free: 29.02 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.8153, allocations: 85.22 kB / 1.16 GB, free: 28.98 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.728e-05/0.8154, allocations: 38.94 kB / 1.16 GB, free: 28.96 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005148/0.8159, allocations: 350.6 kB / 1.161 GB, free: 28.68 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.8159, allocations: 41.7 kB / 1.161 GB, free: 28.63 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.8159, allocations: 0 / 1.161 GB, free: 28.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0003515/0.8163, allocations: 133.5 kB / 1.161 GB, free: 28.57 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/0.8163, allocations: 55.41 kB / 1.161 GB, free: 28.5 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.25e-05/0.8164, allocations: 129.5 kB / 1.161 GB, free: 28.39 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.8164, allocations: 25.7 kB / 1.161 GB, free: 28.36 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.259e-05/0.8164, allocations: 94.38 kB / 1.161 GB, free: 28.27 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.8164, allocations: 32.98 kB / 1.161 GB, free: 28.25 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.8165, allocations: 19.5 kB / 1.161 GB, free: 28.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.271e-05/0.8165, allocations: 318.3 kB / 1.161 GB, free: 27.91 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.863e-05/0.8166, allocations: 32.38 kB / 1.161 GB, free: 27.9 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.345e-05/0.8167, allocations: 42.62 kB / 1.161 GB, free: 27.88 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.8169, allocations: 81.23 kB / 1.161 GB, free: 27.84 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8169, allocations: 4 kB / 1.161 GB, free: 27.83 MB / 1.076 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002/0.8171, allocations: 111.2 kB / 1.162 GB, free: 27.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.8171, allocations: 11.05 kB / 1.162 GB, free: 27.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.8171, allocations: 0 / 1.162 GB, free: 27.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.8171, allocations: 2.75 kB / 1.162 GB, free: 27.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.8172, allocations: 21.81 kB / 1.162 GB, free: 27.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.8172, allocations: 4.047 kB / 1.162 GB, free: 27.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.8173, allocations: 13.89 kB / 1.162 GB, free: 27.76 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.8173, allocations: 7.312 kB / 1.162 GB, free: 27.75 MB / 1.076 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 5.052e-05/0.8174, allocations: 116 kB / 1.162 GB, free: 27.64 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.8174, allocations: 7.047 kB / 1.162 GB, free: 27.63 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.8177, allocations: 124.3 kB / 1.162 GB, free: 27.56 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.8177, allocations: 3.094 kB / 1.162 GB, free: 27.56 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.8177, allocations: 3.938 kB / 1.162 GB, free: 27.56 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.8177, allocations: 3.281 kB / 1.162 GB, free: 27.56 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.8178, allocations: 135.7 kB / 1.162 GB, free: 27.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8178, allocations: 0 / 1.162 GB, free: 27.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.8179, allocations: 18.67 kB / 1.162 GB, free: 27.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.8179, allocations: 2.969 kB / 1.162 GB, free: 27.41 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.8179, allocations: 0 / 1.162 GB, free: 27.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.8179, allocations: 0 / 1.162 GB, free: 27.41 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.8179, allocations: 0 / 1.162 GB, free: 27.41 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.8181, allocations: 210.9 kB / 1.162 GB, free: 27.25 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.8181, allocations: 6.922 kB / 1.162 GB, free: 27.25 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.8182, allocations: 11.12 kB / 1.162 GB, free: 27.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.89e-05/0.8183, allocations: 6.172 kB / 1.162 GB, free: 27.24 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.8183, allocations: 10.05 kB / 1.162 GB, free: 27.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.8183, allocations: 3.938 kB / 1.162 GB, free: 27.23 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.509e-05/0.8183, allocations: 98.5 kB / 1.162 GB, free: 27.15 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8183, allocations: 0 / 1.162 GB, free: 27.15 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002542/0.8186, allocations: 20.91 kB / 1.162 GB, free: 27.14 MB / 1.076 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.0001645/0.8188, allocations: 117.2 kB / 1.162 GB, free: 27.05 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.819, allocations: 78.33 kB / 1.163 GB, free: 27.03 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.819, allocations: 2.969 kB / 1.163 GB, free: 27.03 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.8191, allocations: 38.95 kB / 1.163 GB, free: 27.02 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.8193, allocations: 6.938 kB / 1.163 GB, free: 27.01 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.8197, allocations: 214.8 kB / 1.163 GB, free: 26.85 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.532e-05/0.8198, allocations: 84.12 kB / 1.163 GB, free: 26.77 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.264e-05/0.8198, allocations: 9.984 kB / 1.163 GB, free: 26.77 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.8198, allocations: 17.59 kB / 1.163 GB, free: 26.76 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/0.8198, allocations: 4 kB / 1.163 GB, free: 26.75 MB / 1.076 GB Notification: Performance of Templates: time 0.003581/0.8234, allocations: 1.014 MB / 1.164 GB, free: 26.61 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.497464122949168]