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.001813/0.001813, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002083/0.002083, allocations: 167.3 kB / 22.46 MB, free: 5.375 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.498/1.498, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.951/2.951, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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 2.043e-06/2.043e-06, allocations: 3.938 kB / 1 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.415e-05/3.62e-05, allocations: 13.88 kB / 1 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003316/0.003352, allocations: 1.607 MB / 1.002 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004834/0.008186, allocations: 3.121 MB / 1.005 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.008295, allocations: 0 / 1.005 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.375e-05/0.008339, allocations: 11.92 kB / 1.005 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.77e-05/0.008437, allocations: 15.81 kB / 1.005 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006713/0.009108, allocations: 139.4 kB / 1.005 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.009266, allocations: 79.7 kB / 1.005 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.951e-05/0.009366, allocations: 8 kB / 1.005 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.009566, allocations: 63.81 kB / 1.005 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.009673, allocations: 39.83 kB / 1.005 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.009695, allocations: 4 kB / 1.005 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003034/0.009999, allocations: 95.72 kB / 1.005 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.01003, allocations: 15.92 kB / 1.005 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.01007, allocations: 19.98 kB / 1.005 GB, free: 2 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.01039, allocations: 135.6 kB / 1.005 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.01039, allocations: 0 / 1.005 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.113e-06/0.0104, allocations: 0 / 1.005 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.01041, allocations: 3.984 kB / 1.005 GB, free: 1.863 MB / 0.9512 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.0006507/0.01106, allocations: 321.9 kB / 1.006 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.0111, allocations: 8.031 kB / 1.006 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002451/0.01135, allocations: 28.81 kB / 1.006 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.01165, allocations: 137.7 kB / 1.006 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.01167, allocations: 4.375 kB / 1.006 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.01169, allocations: 4.375 kB / 1.006 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.01193, allocations: 89.58 kB / 1.006 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.01194, allocations: 0 / 1.006 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.01195, allocations: 0 / 1.006 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.01196, allocations: 0 / 1.006 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002352/0.01219, allocations: 79.81 kB / 1.006 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.01269, allocations: 268.4 kB / 1.006 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.01294, allocations: 82.53 kB / 1.006 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.01306, allocations: 40.84 kB / 1.006 GB, free: 0.7188 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006858/0.01374, allocations: 356.4 kB / 1.007 GB, free: 360 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.01377, allocations: 30.56 kB / 1.007 GB, free: 320 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.452e-06/0.01377, allocations: 0 / 1.007 GB, free: 320 kB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0004487/0.01422, allocations: 137.6 kB / 1.007 GB, free: 176 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.01427, allocations: 55.34 kB / 1.007 GB, free: 108 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.01442, allocations: 128.6 kB / 1.007 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.01444, allocations: 25.7 kB / 1.007 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.01452, allocations: 100.1 kB / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.01455, allocations: 23.75 kB / 1.007 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.267e-05/0.0146, allocations: 25.7 kB / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.01476, allocations: 318.9 kB / 1.008 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.01486, allocations: 39.91 kB / 1.008 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.01497, allocations: 41.7 kB / 1.008 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.01517, allocations: 77.69 kB / 1.008 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01518, allocations: 0 / 1.008 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002667/0.01544, allocations: 113.5 kB / 1.008 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.01546, allocations: 8 kB / 1.008 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.01547, allocations: 0 / 1.008 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.01548, allocations: 4.031 kB / 1.008 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.01562, allocations: 19.98 kB / 1.008 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.01563, allocations: 3.938 kB / 1.008 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.153e-05/0.01572, allocations: 11.98 kB / 1.008 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.01573, allocations: 4 kB / 1.008 GB, free: 15.13 MB / 0.9669 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.0001306/0.01586, allocations: 118.3 kB / 1.008 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.0159, allocations: 7.953 kB / 1.008 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.01623, allocations: 130.2 kB / 1.008 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.01624, allocations: 4.109 kB / 1.008 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.01625, allocations: 7.875 kB / 1.008 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01625, allocations: 0 / 1.008 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.01643, allocations: 133.2 kB / 1.008 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.01643, allocations: 3.984 kB / 1.008 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.01655, allocations: 19.92 kB / 1.008 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01655, allocations: 0 / 1.008 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.01656, allocations: 0 / 1.008 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.01657, allocations: 4 kB / 1.008 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01657, allocations: 4 kB / 1.008 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.01689, allocations: 207.8 kB / 1.008 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.0169, allocations: 7.953 kB / 1.009 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.01692, allocations: 0 / 1.009 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.01703, allocations: 11.98 kB / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.01708, allocations: 7.984 kB / 1.009 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.01708, allocations: 3.938 kB / 1.009 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.005e-05/0.01716, allocations: 95.27 kB / 1.009 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.01716, allocations: 0 / 1.009 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002767/0.01744, allocations: 23.94 kB / 1.009 GB, free: 14.3 MB / 0.9669 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.0002463/0.01769, allocations: 115.2 kB / 1.009 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002684/0.01796, allocations: 71.95 kB / 1.009 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01796, allocations: 0 / 1.009 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.01807, allocations: 39.92 kB / 1.009 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.01834, allocations: 12.06 kB / 1.009 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/0.01885, allocations: 201.3 kB / 1.009 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.836e-05/0.01893, allocations: 79.27 kB / 1.009 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.981e-05/0.01899, allocations: 11.94 kB / 1.009 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.01904, allocations: 16.48 kB / 1.009 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.01904, allocations: 0 / 1.009 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of Templates: time 0.004299/0.02334, allocations: 1.021 MB / 1.01 GB, free: 12.7 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.41962231695652]