Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 110 kB / 18.94 MB, free: 2.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 190.3 kB / 22.23 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 251 MB, free: 12.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.597/2.597, allocations: 443.5 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 63.89 kB / 1.061 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7295/0.7317, allocations: 160.8 MB / 1.218 GB, free: 3.68 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003002/0.7347, allocations: 1.624 MB / 1.22 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004281/0.7389, allocations: 3.308 MB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.983e-05/0.739, allocations: 0 / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.011e-05/0.739, allocations: 4.875 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.728e-05/0.7391, allocations: 17.03 kB / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004829/0.7396, allocations: 128.2 kB / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.7397, allocations: 75.5 kB / 1.224 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.398e-05/0.7398, allocations: 12.55 kB / 1.224 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.7399, allocations: 39.5 kB / 1.224 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.139e-05/0.74, allocations: 35.56 kB / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.74, allocations: 6.156 kB / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003069/0.7403, allocations: 109.4 kB / 1.224 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.292e-05/0.7403, allocations: 29.81 kB / 1.224 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.7404, allocations: 28.52 kB / 1.224 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.7406, allocations: 121 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7406, allocations: 1.312 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7406, allocations: 0 / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.7406, allocations: 0 / 1.224 GB, free: 15.32 MB / 0.9356 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.0006159/0.7412, allocations: 394.6 kB / 1.224 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.7413, allocations: 9 kB / 1.224 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.7413, allocations: 12.14 kB / 1.224 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.7415, allocations: 176.1 kB / 1.224 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.854e-06/0.7415, allocations: 2.969 kB / 1.224 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.7415, allocations: 3.5 kB / 1.224 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.7417, allocations: 88.67 kB / 1.225 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.7417, allocations: 1.219 kB / 1.225 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.7417, allocations: 0 / 1.225 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.7417, allocations: 1.156 kB / 1.225 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.7419, allocations: 74.3 kB / 1.225 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005294/0.7425, allocations: 341.4 kB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.7427, allocations: 78.98 kB / 1.225 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.7428, allocations: 42.89 kB / 1.225 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008953/0.7437, allocations: 0.7466 MB / 1.226 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.7437, allocations: 32.34 kB / 1.226 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.7437, allocations: 0 / 1.226 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0004023/0.7441, allocations: 149.2 kB / 1.226 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.7442, allocations: 52.44 kB / 1.226 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.7443, allocations: 120.4 kB / 1.226 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.7443, allocations: 26.86 kB / 1.226 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.7443, allocations: 90.12 kB / 1.226 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.7444, allocations: 31.2 kB / 1.226 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/0.7444, allocations: 24.19 kB / 1.226 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.7446, allocations: 319.9 kB / 1.227 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.754e-05/0.7447, allocations: 28.58 kB / 1.227 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.7448, allocations: 52.59 kB / 1.227 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.7449, allocations: 73.69 kB / 1.227 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7449, allocations: 4.781 kB / 1.227 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000248/0.7452, allocations: 120.6 kB / 1.227 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.7452, allocations: 8.094 kB / 1.227 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.7452, allocations: 0 / 1.227 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.7452, allocations: 5.031 kB / 1.227 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.7454, allocations: 18.86 kB / 1.227 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.7454, allocations: 0.8438 kB / 1.227 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.088e-05/0.7455, allocations: 20.25 kB / 1.227 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.7455, allocations: 11.25 kB / 1.227 GB, free: 12.36 MB / 0.9356 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 9.851e-05/0.7456, allocations: 120 kB / 1.227 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.7456, allocations: 7.328 kB / 1.227 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.7459, allocations: 117.3 kB / 1.227 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.7459, allocations: 5.094 kB / 1.227 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.7459, allocations: 0 / 1.227 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.7459, allocations: 5.156 kB / 1.227 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.7461, allocations: 184.4 kB / 1.227 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7461, allocations: 1.156 kB / 1.227 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.7462, allocations: 16.2 kB / 1.227 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.7462, allocations: 1.125 kB / 1.227 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.7463, allocations: 5.062 kB / 1.227 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.7463, allocations: 3.938 kB / 1.227 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.7463, allocations: 5.031 kB / 1.227 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.7465, allocations: 204.9 kB / 1.228 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.7466, allocations: 82.97 kB / 1.228 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.7466, allocations: 4.828 kB / 1.228 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.7467, allocations: 7.406 kB / 1.228 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.7468, allocations: 10.67 kB / 1.228 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.7468, allocations: 1.312 kB / 1.228 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.035e-05/0.7468, allocations: 92.98 kB / 1.228 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7468, allocations: 4 kB / 1.228 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002652/0.7471, allocations: 24.97 kB / 1.228 GB, free: 11.53 MB / 0.9356 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.000171/0.7473, allocations: 115.9 kB / 1.228 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.7475, allocations: 78.67 kB / 1.228 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.7475, allocations: 1.094 kB / 1.228 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.536e-05/0.7476, allocations: 45.45 kB / 1.228 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.7479, allocations: 13.27 kB / 1.228 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.7483, allocations: 212.5 kB / 1.228 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.7486, allocations: 0.69 MB / 1.229 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.696e-05/0.7487, allocations: 7.266 kB / 1.229 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.7487, allocations: 15.92 kB / 1.229 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.7487, allocations: 0 / 1.229 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of Templates: time 0.003799/0.7525, allocations: 1.08 MB / 1.23 GB, free: 9.914 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.296129205264151]