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.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001754/0.001754, allocations: 101.2 kB / 16.37 MB, free: 6.469 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.0019/0.0019, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.449/2.449, allocations: 442.6 MB / 0.7165 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 69.25 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3169, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002969/0.3199, allocations: 1.611 MB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003603/0.3236, allocations: 3.26 MB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.933e-05/0.3236, allocations: 4 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.978e-05/0.3237, allocations: 7.875 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.174e-05/0.3238, allocations: 11.86 kB / 1.032 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004404/0.3243, allocations: 115.5 kB / 1.032 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.3244, allocations: 83.7 kB / 1.032 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.569e-05/0.3245, allocations: 12.17 kB / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.3246, allocations: 43.84 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.608e-05/0.3247, allocations: 39.84 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.3247, allocations: 8 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002639/0.325, allocations: 103.8 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.325, allocations: 11.92 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.828e-05/0.3251, allocations: 31.86 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.3253, allocations: 123.6 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3253, allocations: 4 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3253, allocations: 3.938 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.3254, allocations: 4 kB / 1.032 GB, free: 12.61 MB / 0.8106 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.0005732/0.3259, allocations: 387.2 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.326, allocations: 12.03 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.326, allocations: 8.844 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.3262, allocations: 176.2 kB / 1.033 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.3262, allocations: 8.375 kB / 1.033 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.3262, allocations: 8.375 kB / 1.033 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.3264, allocations: 89.45 kB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.3264, allocations: 0 / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3265, allocations: 0 / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3265, allocations: 0 / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.3267, allocations: 79.88 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004685/0.3271, allocations: 320.8 kB / 1.033 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.3274, allocations: 94.48 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.889e-05/0.3275, allocations: 48.83 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007846/0.3283, allocations: 0.7565 MB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.3283, allocations: 30.56 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.3283, allocations: 0 / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0003966/0.3287, allocations: 141.7 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.3288, allocations: 55.41 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.602e-05/0.3289, allocations: 117.8 kB / 1.034 GB, free: 10 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.3289, allocations: 29.7 kB / 1.034 GB, free: 9.965 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.3289, allocations: 92.08 kB / 1.034 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.329, allocations: 31.55 kB / 1.034 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.329, allocations: 17.72 kB / 1.034 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.3291, allocations: 322.8 kB / 1.035 GB, free: 9.492 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.179e-05/0.3292, allocations: 31.98 kB / 1.035 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.478e-05/0.3293, allocations: 41.69 kB / 1.035 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.3295, allocations: 81.61 kB / 1.035 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3295, allocations: 0 / 1.035 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002352/0.3297, allocations: 117.6 kB / 1.035 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3298, allocations: 11.94 kB / 1.035 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3298, allocations: 192 / 1.035 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3298, allocations: 3.938 kB / 1.035 GB, free: 9.191 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.3299, allocations: 23.92 kB / 1.035 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.33, allocations: 0 / 1.035 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.166e-05/0.33, allocations: 8 kB / 1.035 GB, free: 9.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.3301, allocations: 11.98 kB / 1.035 GB, free: 9.148 MB / 0.8106 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 7.589e-05/0.3301, allocations: 113.9 kB / 1.035 GB, free: 9.027 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.3302, allocations: 7.906 kB / 1.035 GB, free: 9.02 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.3305, allocations: 118 kB / 1.035 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3305, allocations: 3.938 kB / 1.035 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3305, allocations: 0 / 1.035 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3305, allocations: 0 / 1.035 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.3307, allocations: 193.6 kB / 1.036 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3307, allocations: 0 / 1.036 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.3308, allocations: 23.98 kB / 1.036 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3308, allocations: 0 / 1.036 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3308, allocations: 0 / 1.036 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.3308, allocations: 3.938 kB / 1.036 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3308, allocations: 0 / 1.036 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.3311, allocations: 207.8 kB / 1.036 GB, free: 8.414 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.3312, allocations: 84.95 kB / 1.036 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.3312, allocations: 7.984 kB / 1.036 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.645e-05/0.3313, allocations: 7.938 kB / 1.036 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.3313, allocations: 11.97 kB / 1.036 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.3314, allocations: 4 kB / 1.036 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.484e-05/0.3314, allocations: 95.27 kB / 1.036 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3314, allocations: 0 / 1.036 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002502/0.3317, allocations: 16 kB / 1.036 GB, free: 8.172 MB / 0.8106 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.0002079/0.3319, allocations: 134 kB / 1.036 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.3321, allocations: 79.95 kB / 1.036 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3321, allocations: 0 / 1.036 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.05e-05/0.3322, allocations: 39.98 kB / 1.036 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.3325, allocations: 11.94 kB / 1.036 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.333, allocations: 214 kB / 1.036 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.3332, allocations: 0.6924 MB / 1.037 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.27e-05/0.3333, allocations: 4 kB / 1.037 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.3333, allocations: 11.44 kB / 1.037 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of SimCode: time 3.11e-07/0.3333, allocations: 0 / 1.037 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of Templates: time 0.003464/0.3368, allocations: 1.01 MB / 1.038 GB, free: 5.926 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches