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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_10_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.001236/0.001236, allocations: 108 kB / 16.41 MB, free: 6.5 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.001228/0.001229, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.413/2.413, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001502, allocations: 63.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9301/0.9316, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.0031/0.9348, allocations: 1.61 MB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004089/0.9389, allocations: 3.256 MB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.377e-05/0.939, allocations: 0 / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 4.164e-05/0.9392, allocations: 3.938 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.96e-05/0.9393, allocations: 15.86 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005486/0.9398, allocations: 123.5 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.94, allocations: 79.72 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.735e-05/0.9401, allocations: 12.17 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.9402, allocations: 39.84 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 9.775e-05/0.9403, allocations: 35.84 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.9403, allocations: 4 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003109/0.9406, allocations: 107.8 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.462e-05/0.9407, allocations: 19.92 kB / 1.173 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.23e-05/0.9407, allocations: 31.86 kB / 1.173 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.941, allocations: 123.5 kB / 1.173 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.941, allocations: 3.938 kB / 1.173 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.322e-06/0.941, allocations: 0 / 1.173 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.941, allocations: 0 / 1.173 GB, free: 14.39 MB / 0.9044 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.0005978/0.9416, allocations: 381.1 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.9417, allocations: 8.922 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.9417, allocations: 8.844 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.9419, allocations: 192 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.9419, allocations: 8.375 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.9419, allocations: 384 / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.9421, allocations: 77.59 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.9422, allocations: 4 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.9422, allocations: 4 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.9422, allocations: 0 / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.9424, allocations: 71.94 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005529/0.943, allocations: 336.6 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.9432, allocations: 94.53 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.966e-05/0.9433, allocations: 44.83 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008289/0.9441, allocations: 0.7491 MB / 1.175 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.9442, allocations: 42.48 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.9442, allocations: 0 / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0004067/0.9446, allocations: 145.5 kB / 1.175 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.9447, allocations: 51.41 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.684e-05/0.9448, allocations: 117.8 kB / 1.175 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.9448, allocations: 25.7 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.9448, allocations: 92.03 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.9449, allocations: 23.66 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.9449, allocations: 25.7 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.945, allocations: 318.8 kB / 1.175 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.86e-05/0.9451, allocations: 31.97 kB / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.144e-05/0.9452, allocations: 45.64 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.9454, allocations: 73.69 kB / 1.176 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9454, allocations: 0 / 1.176 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002404/0.9457, allocations: 121.8 kB / 1.176 GB, free: 11 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.9457, allocations: 4.188 kB / 1.176 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.9457, allocations: 80 / 1.176 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.9457, allocations: 11.88 kB / 1.176 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.9459, allocations: 15.98 kB / 1.176 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.9459, allocations: 7.984 kB / 1.176 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.785e-05/0.946, allocations: 11.98 kB / 1.176 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.946, allocations: 0 / 1.176 GB, free: 10.95 MB / 0.9044 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 9.533e-05/0.9461, allocations: 125.8 kB / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.9461, allocations: 7.906 kB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/0.9464, allocations: 118 kB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.9464, allocations: 3.938 kB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.9465, allocations: 0 / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.9465, allocations: 0 / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.9467, allocations: 205.5 kB / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.9467, allocations: 0 / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.9468, allocations: 15.98 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.9468, allocations: 3.938 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.9468, allocations: 7.984 kB / 1.176 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.9468, allocations: 3.938 kB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.9468, allocations: 0 / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.9471, allocations: 199.5 kB / 1.176 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.9472, allocations: 85.02 kB / 1.176 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.9472, allocations: 0 / 1.176 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-05/0.9473, allocations: 11.92 kB / 1.176 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.9473, allocations: 8 kB / 1.176 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.9473, allocations: 0 / 1.176 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.96e-05/0.9474, allocations: 91.27 kB / 1.177 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9474, allocations: 0 / 1.177 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002617/0.9477, allocations: 28 kB / 1.177 GB, free: 9.945 MB / 0.9044 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.0002159/0.9479, allocations: 123.1 kB / 1.177 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.9481, allocations: 75.94 kB / 1.177 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.9481, allocations: 0 / 1.177 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.819e-05/0.9483, allocations: 47.91 kB / 1.177 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.9485, allocations: 16 kB / 1.177 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004844/0.949, allocations: 235.5 kB / 1.177 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.9493, allocations: 0.689 MB / 1.178 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.9493, allocations: 23.42 kB / 1.178 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/0.9493, allocations: 0 / 1.178 GB, free: 8.676 MB / 0.9044 GB Notification: Performance of Templates: time 0.002906/0.9523, allocations: 1.262 MB / 1.179 GB, free: 7.426 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches