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.001472/0.001472, allocations: 120.2 kB / 17.13 MB, free: 5.758 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.001568/0.001568, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.5/1.5, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.698/2.698, allocations: 443.5 MB / 0.7293 GB, free: 14.53 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001951/0.001951, allocations: 72.12 kB / 1.057 GB, free: 1.965 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3441, allocations: 160.7 MB / 1.214 GB, free: 0.9375 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002898/0.347, allocations: 1.618 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004269/0.3513, allocations: 3.273 MB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.3513, allocations: 4 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.946e-05/0.3514, allocations: 7.938 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.711e-05/0.3515, allocations: 15.8 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.352, allocations: 115.5 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.3521, allocations: 79.81 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.064e-05/0.3522, allocations: 4.188 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.3523, allocations: 51.78 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.3524, allocations: 39.83 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.3524, allocations: 7.938 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002909/0.3527, allocations: 103.8 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.3527, allocations: 7.984 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.3528, allocations: 43.72 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.353, allocations: 127.5 kB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.353, allocations: 0 / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3531, allocations: 0 / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3531, allocations: 4 kB / 1.219 GB, free: 11.41 MB / 0.9669 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.0006428/0.3537, allocations: 387.1 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3537, allocations: 8.031 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.3538, allocations: 8.891 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.3539, allocations: 172.3 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.354, allocations: 4.375 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.354, allocations: 12.36 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.3542, allocations: 93.41 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3542, allocations: 0 / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3542, allocations: 0 / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3542, allocations: 0 / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.3544, allocations: 75.94 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/0.355, allocations: 320.8 kB / 1.22 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.3553, allocations: 98.45 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.3554, allocations: 36.84 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009278/0.3563, allocations: 0.7527 MB / 1.221 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.3563, allocations: 34.56 kB / 1.221 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.3563, allocations: 0 / 1.221 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004435/0.3568, allocations: 141.7 kB / 1.222 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.3568, allocations: 55.41 kB / 1.222 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.357, allocations: 121.9 kB / 1.222 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.357, allocations: 25.7 kB / 1.222 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.3571, allocations: 100.1 kB / 1.222 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.3571, allocations: 27.73 kB / 1.222 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.3571, allocations: 25.7 kB / 1.222 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3573, allocations: 318.8 kB / 1.222 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.665e-05/0.3574, allocations: 31.97 kB / 1.222 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.3575, allocations: 41.7 kB / 1.222 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.3577, allocations: 85.81 kB / 1.222 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3577, allocations: 0 / 1.222 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002442/0.358, allocations: 113.5 kB / 1.222 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.358, allocations: 8 kB / 1.222 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.358, allocations: 4.031 kB / 1.222 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.358, allocations: 3.938 kB / 1.222 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.3581, allocations: 23.92 kB / 1.222 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3581, allocations: 0 / 1.222 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.371e-05/0.3582, allocations: 7.984 kB / 1.222 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.3582, allocations: 4 kB / 1.222 GB, free: 7.969 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.0001081/0.3583, allocations: 113.8 kB / 1.223 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.3584, allocations: 3.953 kB / 1.223 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003316/0.3587, allocations: 133.9 kB / 1.223 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3587, allocations: 3.938 kB / 1.223 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.3587, allocations: 0 / 1.223 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3587, allocations: 4 kB / 1.223 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.3589, allocations: 181.6 kB / 1.223 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3589, allocations: 4 kB / 1.223 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.359, allocations: 19.98 kB / 1.223 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.359, allocations: 0 / 1.223 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3591, allocations: 4 kB / 1.223 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.489e-05/0.3591, allocations: 7.922 kB / 1.223 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3591, allocations: 0 / 1.223 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.3594, allocations: 211.8 kB / 1.223 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.3594, allocations: 85 kB / 1.223 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.3595, allocations: 8 kB / 1.223 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.618e-05/0.3596, allocations: 7.938 kB / 1.223 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.3596, allocations: 7.984 kB / 1.223 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.3596, allocations: 4 kB / 1.223 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.105e-05/0.3597, allocations: 91.27 kB / 1.223 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3597, allocations: 0 / 1.223 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002601/0.3599, allocations: 23.94 kB / 1.223 GB, free: 6.969 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.0002357/0.3602, allocations: 111.2 kB / 1.223 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002697/0.3604, allocations: 79.89 kB / 1.224 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3605, allocations: 3.938 kB / 1.224 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.95e-05/0.3605, allocations: 35.98 kB / 1.224 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.3609, allocations: 7.984 kB / 1.224 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005285/0.3614, allocations: 249.5 kB / 1.224 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.3617, allocations: 0.6885 MB / 1.224 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.734e-05/0.3618, allocations: 15.42 kB / 1.224 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.3618, allocations: 0 / 1.224 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of Templates: time 0.003203/0.365, allocations: 1.266 MB / 1.226 GB, free: 4.457 MB / 0.9669 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.56735033588484]