Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=5000,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007916/0.007916, allocations: 96.73 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 197.9 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.762/2.762, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.91 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3484, allocations: 159.1 MB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002884/0.3512, allocations: 1.613 MB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003956/0.3552, allocations: 3.248 MB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.75e-05/0.3553, allocations: 3.938 kB / 1.225 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.804e-05/0.3553, allocations: 7.875 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.56e-05/0.3554, allocations: 19.86 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005035/0.3559, allocations: 119.5 kB / 1.226 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.356, allocations: 83.7 kB / 1.226 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.559e-05/0.3561, allocations: 4.188 kB / 1.226 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.3562, allocations: 43.89 kB / 1.226 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.3563, allocations: 39.78 kB / 1.226 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.3563, allocations: 12 kB / 1.226 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002817/0.3566, allocations: 95.84 kB / 1.226 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.3566, allocations: 15.91 kB / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.3567, allocations: 31.86 kB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.3569, allocations: 123.5 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3569, allocations: 4 kB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3569, allocations: 0 / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.3569, allocations: 0 / 1.226 GB, free: 8.324 MB / 0.9825 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.000604/0.3575, allocations: 395 kB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3576, allocations: 12.03 kB / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.3576, allocations: 8.891 kB / 1.226 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.3578, allocations: 168.3 kB / 1.227 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3578, allocations: 384 / 1.227 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.3578, allocations: 8.375 kB / 1.227 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.358, allocations: 89.45 kB / 1.227 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.358, allocations: 0 / 1.227 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.358, allocations: 4 kB / 1.227 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.358, allocations: 0 / 1.227 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.3582, allocations: 75.94 kB / 1.227 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.3588, allocations: 328.6 kB / 1.227 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.359, allocations: 94.47 kB / 1.227 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.99e-05/0.3591, allocations: 44.83 kB / 1.227 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008292/0.3599, allocations: 0.7449 MB / 1.228 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.36, allocations: 42.56 kB / 1.228 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.36, allocations: 0 / 1.228 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004117/0.3604, allocations: 141.7 kB / 1.228 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.3604, allocations: 55.41 kB / 1.228 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.3605, allocations: 117.8 kB / 1.228 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.3605, allocations: 29.7 kB / 1.228 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.058e-05/0.3606, allocations: 96.03 kB / 1.228 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.3606, allocations: 31.73 kB / 1.228 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.3607, allocations: 25.72 kB / 1.228 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3608, allocations: 314.8 kB / 1.229 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.788e-05/0.3609, allocations: 27.98 kB / 1.229 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.206e-05/0.361, allocations: 49.69 kB / 1.229 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.3612, allocations: 85.62 kB / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3612, allocations: 0 / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002184/0.3614, allocations: 109.6 kB / 1.229 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3614, allocations: 4 kB / 1.229 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3614, allocations: 3.938 kB / 1.229 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3614, allocations: 3.938 kB / 1.229 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.3616, allocations: 24.02 kB / 1.229 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3616, allocations: 0 / 1.229 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.098e-05/0.3617, allocations: 7.938 kB / 1.229 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.3617, allocations: 8.094 kB / 1.229 GB, free: 4.871 MB / 0.9825 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 8.831e-05/0.3618, allocations: 118.3 kB / 1.229 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.3618, allocations: 7.953 kB / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.3621, allocations: 130.3 kB / 1.229 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.3621, allocations: 7.938 kB / 1.229 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3621, allocations: 0 / 1.229 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3621, allocations: 3.984 kB / 1.229 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.3623, allocations: 181.6 kB / 1.229 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3623, allocations: 0 / 1.229 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.3624, allocations: 19.98 kB / 1.229 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3624, allocations: 0 / 1.229 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.3624, allocations: 4 kB / 1.229 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3624, allocations: 4.125 kB / 1.229 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3624, allocations: 0 / 1.229 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.3627, allocations: 211.3 kB / 1.23 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.3628, allocations: 89.05 kB / 1.23 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3628, allocations: 0 / 1.23 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.3629, allocations: 11.94 kB / 1.23 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.3629, allocations: 3.984 kB / 1.23 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.3629, allocations: 4 kB / 1.23 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.478e-05/0.363, allocations: 95.27 kB / 1.23 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.363, allocations: 0 / 1.23 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002551/0.3632, allocations: 27.94 kB / 1.23 GB, free: 3.867 MB / 0.9825 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.0002213/0.3635, allocations: 115.2 kB / 1.23 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.3637, allocations: 71.95 kB / 1.23 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3637, allocations: 4 kB / 1.23 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.934e-05/0.3638, allocations: 35.98 kB / 1.23 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.3641, allocations: 13.83 kB / 1.23 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.3646, allocations: 225.6 kB / 1.23 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.3648, allocations: 0.6961 MB / 1.231 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.317e-05/0.3649, allocations: 7.984 kB / 1.231 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.3649, allocations: 15.42 kB / 1.231 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3649, allocations: 0 / 1.231 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of Templates: time 0.00361/0.3685, allocations: 1.03 MB / 1.232 GB, free: 1.613 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches