Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0006844/0.0006844, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009351/0.00162, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006871/0.0006871, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008557/0.001543, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9092/0.9092, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08544/0.9946, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.328/2.328, allocations: 447.1 MB / 0.675 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2271/2.555, allocations: 146 MB / 0.8176 GB, free: 3.801 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 0.819 GB, free: 2.422 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096e-05/1.2e-05, allocations: 4.984 kB / 0.819 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001779/0.001791, allocations: 1.709 MB / 0.8206 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002465/0.004257, allocations: 3.44 MB / 0.824 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.17e-05/0.004299, allocations: 4 kB / 0.824 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.044e-05/0.004319, allocations: 3.938 kB / 0.824 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.491e-05/0.004354, allocations: 15.84 kB / 0.824 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.004637, allocations: 139.3 kB / 0.8242 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.318e-05/0.00473, allocations: 91.64 kB / 0.8242 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.991e-05/0.00479, allocations: 11.86 kB / 0.8243 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.004911, allocations: 63.88 kB / 0.8243 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.28e-05/0.004974, allocations: 31.89 kB / 0.8243 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.004987, allocations: 8 kB / 0.8244 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.005149, allocations: 103.7 kB / 0.8245 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.005163, allocations: 8 kB / 0.8245 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.008e-05/0.005183, allocations: 19.94 kB / 0.8245 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.005335, allocations: 95.67 kB / 0.8246 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.005345, allocations: 7.938 kB / 0.8246 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.41e-07/0.005346, allocations: 4 kB / 0.8246 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.005355, allocations: 0 / 0.8246 GB, free: 12.64 MB / 0.8073 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.0003337/0.005689, allocations: 308.2 kB / 0.8249 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.005718, allocations: 8.031 kB / 0.8249 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.005867, allocations: 106 kB / 0.825 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.005983, allocations: 133.6 kB / 0.8251 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.00599, allocations: 8.375 kB / 0.8251 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.006001, allocations: 4.375 kB / 0.8251 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.186e-05/0.006093, allocations: 74.3 kB / 0.8252 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.0061, allocations: 4 kB / 0.8252 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.006106, allocations: 0 / 0.8252 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.00611, allocations: 0 / 0.8252 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.155e-05/0.006152, allocations: 35.84 kB / 0.8252 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002101/0.006362, allocations: 192.2 kB / 0.8254 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.217e-05/0.006454, allocations: 70.44 kB / 0.8255 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.163e-05/0.006475, allocations: 20.98 kB / 0.8255 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002955/0.006771, allocations: 326.6 kB / 0.8258 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.006793, allocations: 30.56 kB / 0.8258 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.006794, allocations: 0 / 0.8258 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001216/0.006916, allocations: 69.77 kB / 0.8259 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.006939, allocations: 55.34 kB / 0.826 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.007065, allocations: 129.2 kB / 0.8261 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.208e-06/0.007074, allocations: 29.69 kB / 0.8261 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.007106, allocations: 96.02 kB / 0.8262 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.007118, allocations: 23.8 kB / 0.8262 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.007147, allocations: 21.7 kB / 0.8263 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.498e-05/0.007212, allocations: 330.8 kB / 0.8266 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.007225, allocations: 8 kB / 0.8266 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.261e-05/0.007247, allocations: 25.69 kB / 0.8266 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.086e-05/0.007288, allocations: 41.94 kB / 0.8266 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.00729, allocations: 0 / 0.8266 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 6.11e-05/0.007351, allocations: 69.66 kB / 0.8267 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.007361, allocations: 4 kB / 0.8267 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.007365, allocations: 4 kB / 0.8267 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.007373, allocations: 0 / 0.8267 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.288e-05/0.007446, allocations: 23.92 kB / 0.8267 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-06/0.007449, allocations: 0 / 0.8267 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.599e-05/0.007475, allocations: 11.89 kB / 0.8267 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.00748, allocations: 3.984 kB / 0.8268 GB, free: 10.22 MB / 0.8073 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 4.643e-05/0.007526, allocations: 113.8 kB / 0.8269 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.007541, allocations: 12.03 kB / 0.8269 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.889e-05/0.00763, allocations: 74.03 kB / 0.8269 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.007632, allocations: 4 kB / 0.8269 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.007634, allocations: 0 / 0.8269 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.007636, allocations: 0 / 0.8269 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.706e-05/0.007733, allocations: 89.81 kB / 0.827 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.007734, allocations: 0 / 0.827 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.007776, allocations: 15.98 kB / 0.827 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-06/0.007785, allocations: 11.89 kB / 0.8271 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.007787, allocations: 7.922 kB / 0.8271 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-06/0.007792, allocations: 4 kB / 0.8271 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.007793, allocations: 4 kB / 0.8271 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.007794, allocations: 0 / 0.8271 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.758e-05/0.007872, allocations: 163.4 kB / 0.8272 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-06/0.007881, allocations: 0 / 0.8272 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.527e-05/0.007916, allocations: 4 kB / 0.8272 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.007945, allocations: 11.98 kB / 0.8272 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.007948, allocations: 0 / 0.8272 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.649e-05/0.007965, allocations: 20.83 kB / 0.8273 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.007965, allocations: 0 / 0.8273 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001282/0.008093, allocations: 28 kB / 0.8273 GB, free: 9.613 MB / 0.8073 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.000111/0.008204, allocations: 92.34 kB / 0.8274 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.847e-05/0.008272, allocations: 36.83 kB / 0.8274 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.008277, allocations: 4 kB / 0.8274 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.387e-05/0.008311, allocations: 36.72 kB / 0.8275 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.008453, allocations: 51.88 kB / 0.8275 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.009515, allocations: 197.8 kB / 0.8277 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.548e-05/0.00955, allocations: 63.34 kB / 0.8278 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.518e-05/0.009585, allocations: 11.98 kB / 0.8278 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.009634, allocations: 63.36 kB / 0.8278 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of SimCode: time 4.51e-07/0.009634, allocations: 0 / 0.8278 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of Templates: time 0.002165/0.0118, allocations: 1.11 MB / 0.8289 GB, free: 7.902 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.818164103664458]