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.001497/0.001497, allocations: 106.6 kB / 16.45 MB, free: 6.5 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.001692/0.001692, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.52/1.52, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.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 3.714/3.714, allocations: 0.49 GB / 0.7915 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] 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.002073/0.002073, allocations: 76.14 kB / 1.149 GB, free: 26.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3501, allocations: 176.1 MB / 1.321 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.00297/0.3531, allocations: 1.63 MB / 1.323 GB, free: 1.172 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004354/0.3575, allocations: 3.366 MB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.877e-05/0.3575, allocations: 8 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.557e-05/0.3576, allocations: 7.922 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.3576, allocations: 11.81 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.3581, allocations: 139.5 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.3582, allocations: 79.75 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.708e-05/0.3583, allocations: 12 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.3585, allocations: 51.78 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.514e-05/0.3586, allocations: 39.83 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.3586, allocations: 8 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002719/0.3589, allocations: 103.8 kB / 1.327 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.282e-05/0.3589, allocations: 19.91 kB / 1.327 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.799e-05/0.3589, allocations: 31.86 kB / 1.327 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.3592, allocations: 139.5 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3592, allocations: 0 / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3592, allocations: 4 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3592, allocations: 3.938 kB / 1.327 GB, free: 13.14 MB / 1.029 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.0006825/0.3599, allocations: 395 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3599, allocations: 11.98 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.3602, allocations: 24.88 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.3604, allocations: 192.2 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.3605, allocations: 8.375 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.3605, allocations: 384 / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.3607, allocations: 85.77 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.3607, allocations: 4 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.3607, allocations: 0 / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3607, allocations: 0 / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002426/0.361, allocations: 79.81 kB / 1.328 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005297/0.3615, allocations: 332.7 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.3617, allocations: 82.53 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.3619, allocations: 44.83 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/0.3629, allocations: 0.7528 MB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.3629, allocations: 30.56 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.3629, allocations: 0 / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0005899/0.3635, allocations: 145.6 kB / 1.329 GB, free: 10.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.3636, allocations: 59.34 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.3637, allocations: 129 kB / 1.329 GB, free: 10.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3637, allocations: 25.8 kB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.454e-05/0.3638, allocations: 104 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.3638, allocations: 23.81 kB / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/0.3639, allocations: 21.7 kB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.364, allocations: 318.8 kB / 1.33 GB, free: 9.984 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.3641, allocations: 39.97 kB / 1.33 GB, free: 9.945 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.3642, allocations: 37.7 kB / 1.33 GB, free: 9.902 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.3644, allocations: 73.69 kB / 1.33 GB, free: 9.824 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3644, allocations: 0 / 1.33 GB, free: 9.824 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002911/0.3647, allocations: 121.5 kB / 1.33 GB, free: 9.699 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3648, allocations: 8 kB / 1.33 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.3648, allocations: 0 / 1.33 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3648, allocations: 0 / 1.33 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.3649, allocations: 24.03 kB / 1.33 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3649, allocations: 7.875 kB / 1.33 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.393e-05/0.365, allocations: 15.88 kB / 1.33 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.365, allocations: 4 kB / 1.33 GB, free: 9.641 MB / 1.029 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.000106/0.3651, allocations: 117.9 kB / 1.33 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.3652, allocations: 7.953 kB / 1.33 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.3655, allocations: 118 kB / 1.33 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.3655, allocations: 3.938 kB / 1.33 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3655, allocations: 0 / 1.33 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3655, allocations: 0 / 1.33 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.3657, allocations: 197.6 kB / 1.33 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3657, allocations: 7.922 kB / 1.33 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.3659, allocations: 20.17 kB / 1.33 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3659, allocations: 0 / 1.33 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.3659, allocations: 3.938 kB / 1.33 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3659, allocations: 3.938 kB / 1.33 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3659, allocations: 4 kB / 1.33 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.3662, allocations: 199.5 kB / 1.331 GB, free: 8.891 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/0.3663, allocations: 93 kB / 1.331 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.3663, allocations: 0 / 1.331 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3664, allocations: 11.92 kB / 1.331 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.3664, allocations: 4 kB / 1.331 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.3664, allocations: 7.984 kB / 1.331 GB, free: 8.758 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.127e-05/0.3665, allocations: 95.2 kB / 1.331 GB, free: 8.664 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3665, allocations: 4 kB / 1.331 GB, free: 8.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002678/0.3668, allocations: 20 kB / 1.331 GB, free: 8.641 MB / 1.029 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.0002467/0.367, allocations: 123.1 kB / 1.331 GB, free: 8.512 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.3673, allocations: 72.5 kB / 1.331 GB, free: 8.441 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3673, allocations: 0 / 1.331 GB, free: 8.441 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.3674, allocations: 39.91 kB / 1.331 GB, free: 8.402 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.3676, allocations: 12.25 kB / 1.331 GB, free: 8.391 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004994/0.3681, allocations: 233.1 kB / 1.331 GB, free: 8.137 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.3685, allocations: 0.6885 MB / 1.332 GB, free: 7.422 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.986e-05/0.3686, allocations: 11.98 kB / 1.332 GB, free: 7.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.3686, allocations: 11.44 kB / 1.332 GB, free: 7.398 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3686, allocations: 0 / 1.332 GB, free: 7.398 MB / 1.029 GB Notification: Performance of Templates: time 0.00414/0.3727, allocations: 1.047 MB / 1.333 GB, free: 6.359 MB / 1.029 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 9.384576368611306]