Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001445/0.001445, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001688/0.001688, allocations: 196.8 kB / 16.14 MB, free: 6.734 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.374/1.374, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.511/2.511, allocations: 390.2 MB / 0.6642 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001882, allocations: 67.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5766/0.5786, allocations: 140.4 MB / 0.9489 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002207/0.5808, allocations: 1.657 MB / 0.9506 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002595/0.5834, allocations: 3.239 MB / 0.9537 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.5835, allocations: 1.25 kB / 0.9537 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.5835, allocations: 3.938 kB / 0.9537 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.432e-05/0.5836, allocations: 13.2 kB / 0.9537 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.5839, allocations: 110.2 kB / 0.9538 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.504e-05/0.584, allocations: 71.75 kB / 0.9539 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.528e-05/0.5841, allocations: 14.17 kB / 0.9539 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.271e-05/0.5842, allocations: 42.28 kB / 0.954 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.956e-05/0.5843, allocations: 40.23 kB / 0.954 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.5843, allocations: 3.156 kB / 0.954 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.5845, allocations: 89.86 kB / 0.9541 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.5845, allocations: 17.16 kB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.5846, allocations: 28.67 kB / 0.9541 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.5848, allocations: 120.3 kB / 0.9542 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.5848, allocations: 1.062 kB / 0.9542 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.92e-07/0.5848, allocations: 0 / 0.9542 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.5848, allocations: 0 / 0.9542 GB, free: 4.926 MB / 0.7169 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.0004529/0.5853, allocations: 393.9 kB / 0.9546 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.5853, allocations: 10.06 kB / 0.9546 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.5853, allocations: 12.55 kB / 0.9546 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.052e-05/0.5854, allocations: 176.1 kB / 0.9548 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.5854, allocations: 9.188 kB / 0.9548 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.5855, allocations: 7.875 kB / 0.9548 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.5856, allocations: 77.03 kB / 0.9549 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.5857, allocations: 1.531 kB / 0.9549 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.5857, allocations: 0 / 0.9549 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.5857, allocations: 1.094 kB / 0.9549 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.5859, allocations: 73.5 kB / 0.955 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.5863, allocations: 330.7 kB / 0.9553 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.5865, allocations: 94.77 kB / 0.9554 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.429e-05/0.5866, allocations: 40.84 kB / 0.9554 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006103/0.5872, allocations: 0.7625 MB / 0.9562 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.5872, allocations: 35.56 kB / 0.9562 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.5872, allocations: 0 / 0.9562 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003866/0.5876, allocations: 141.9 kB / 0.9563 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.5877, allocations: 56.62 kB / 0.9564 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.932e-05/0.5877, allocations: 123.8 kB / 0.9565 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.5878, allocations: 30.8 kB / 0.9565 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.5878, allocations: 90.36 kB / 0.9566 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.5878, allocations: 27.45 kB / 0.9566 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.5879, allocations: 23.53 kB / 0.9567 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.714e-05/0.5879, allocations: 320.2 kB / 0.957 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.503e-05/0.588, allocations: 28.36 kB / 0.957 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.575e-05/0.5881, allocations: 48.28 kB / 0.957 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.5883, allocations: 78.19 kB / 0.9571 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5883, allocations: 0 / 0.9571 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002156/0.5885, allocations: 109.1 kB / 0.9572 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.5885, allocations: 10.22 kB / 0.9572 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.5885, allocations: 4.031 kB / 0.9572 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.5885, allocations: 1.688 kB / 0.9572 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.5887, allocations: 17.86 kB / 0.9573 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.5887, allocations: 1.234 kB / 0.9573 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.378e-05/0.5888, allocations: 8.688 kB / 0.9573 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.5888, allocations: 5.516 kB / 0.9573 GB, free: 1.973 MB / 0.7169 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 5.238e-05/0.5888, allocations: 125.1 kB / 0.9574 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.5889, allocations: 11.34 kB / 0.9574 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.5892, allocations: 124.5 kB / 0.9575 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.5892, allocations: 1.219 kB / 0.9575 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.5892, allocations: 192 / 0.9575 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.5892, allocations: 1.562 kB / 0.9575 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.5893, allocations: 192.6 kB / 0.9577 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5893, allocations: 3.938 kB / 0.9577 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.5895, allocations: 17.42 kB / 0.9577 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5895, allocations: 9.406 kB / 0.9577 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.5895, allocations: 4 kB / 0.9577 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.5895, allocations: 2.469 kB / 0.9577 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5895, allocations: 0 / 0.9577 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.5897, allocations: 208.6 kB / 0.9579 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.5897, allocations: 88.59 kB / 0.958 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.5898, allocations: 7.922 kB / 0.958 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.5899, allocations: 7.844 kB / 0.958 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.5899, allocations: 3.984 kB / 0.958 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.5899, allocations: 3.75 kB / 0.958 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.959e-05/0.5899, allocations: 95.11 kB / 0.9581 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.59, allocations: 0 / 0.9581 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002588/0.5902, allocations: 17.62 kB / 0.9582 GB, free: 1.129 MB / 0.7169 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.0001769/0.5904, allocations: 126.6 kB / 0.9583 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.5906, allocations: 77.89 kB / 0.9584 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5906, allocations: 0 / 0.9584 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.159e-05/0.5907, allocations: 35.89 kB / 0.9584 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.591, allocations: 12.47 kB / 0.9584 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000364/0.5914, allocations: 232.8 kB / 0.9586 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.673e-05/0.5915, allocations: 0.6906 MB / 0.9593 GB, free: 76 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.483e-05/0.5916, allocations: 11.78 kB / 0.9593 GB, free: 68 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.5916, allocations: 11.25 kB / 0.9593 GB, free: 60 kB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.5916, allocations: 3.938 kB / 0.9593 GB, free: 56 kB / 0.7169 GB Notification: Performance of Templates: time 0.003168/0.5948, allocations: 0.9442 MB / 0.9602 GB, free: 15.56 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches