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.00137/0.00137, allocations: 106.6 kB / 16.41 MB, free: 6.496 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.001265/0.001265, allocations: 189.2 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.47/1.47, 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.716/2.716, allocations: 437.1 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 71.88 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.867/0.8691, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003183/0.8723, allocations: 1.604 MB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004425/0.8768, allocations: 3.268 MB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.371e-05/0.8769, allocations: 0 / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 5.072e-05/0.877, allocations: 3.938 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.554e-05/0.8771, allocations: 15.86 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.8776, allocations: 115.5 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.8777, allocations: 79.72 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.8778, allocations: 20.16 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.878, allocations: 39.84 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 9.593e-05/0.8781, allocations: 39.84 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.8781, allocations: 4 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002935/0.8784, allocations: 107.8 kB / 1.173 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.8784, allocations: 15.92 kB / 1.173 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.941e-05/0.8785, allocations: 31.86 kB / 1.173 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.8787, allocations: 124.1 kB / 1.173 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.8788, allocations: 4 kB / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8788, allocations: 0 / 1.173 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.8788, allocations: 0 / 1.173 GB, free: 14.34 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.0006492/0.8794, allocations: 383.1 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.8795, allocations: 8.031 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.8795, allocations: 12.83 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.8797, allocations: 180.2 kB / 1.173 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.8797, allocations: 8.375 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.8798, allocations: 4.375 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.88, allocations: 77.59 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.88, allocations: 0 / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.88, allocations: 4 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.88, allocations: 0 / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.8803, allocations: 71.94 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005531/0.8808, allocations: 336.7 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.8811, allocations: 98.47 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.8812, allocations: 40.84 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009369/0.8822, allocations: 0.7567 MB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.8822, allocations: 34.56 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/0.8822, allocations: 0 / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0004305/0.8827, allocations: 145.8 kB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.8827, allocations: 51.41 kB / 1.175 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.8828, allocations: 113.8 kB / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.8829, allocations: 33.64 kB / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.414e-05/0.883, allocations: 92.08 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.883, allocations: 27.75 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.8831, allocations: 25.7 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.8832, allocations: 314.8 kB / 1.175 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-05/0.8833, allocations: 35.97 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.8834, allocations: 45.64 kB / 1.175 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.8837, allocations: 77.98 kB / 1.176 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8837, allocations: 0 / 1.176 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002608/0.8839, allocations: 121.5 kB / 1.176 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.884, allocations: 4 kB / 1.176 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.884, allocations: 0 / 1.176 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.884, allocations: 7.938 kB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.8842, allocations: 15.98 kB / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.8842, allocations: 0 / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.964e-05/0.8843, allocations: 19.92 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.8843, allocations: 4 kB / 1.176 GB, free: 10.89 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 0.0001013/0.8844, allocations: 117.9 kB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.8844, allocations: 7.953 kB / 1.176 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003342/0.8848, allocations: 117.9 kB / 1.176 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.8848, allocations: 7.938 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8848, allocations: 0 / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.8848, allocations: 0 / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.885, allocations: 193.6 kB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.885, allocations: 4 kB / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.8852, allocations: 15.98 kB / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8852, allocations: 192 / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.8852, allocations: 7.984 kB / 1.176 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.8852, allocations: 7.875 kB / 1.176 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8852, allocations: 0 / 1.176 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.8855, allocations: 203.4 kB / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.8856, allocations: 89.06 kB / 1.176 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.8856, allocations: 3.984 kB / 1.176 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.925e-05/0.8857, allocations: 11.92 kB / 1.176 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.8858, allocations: 4 kB / 1.176 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.8858, allocations: 4 kB / 1.176 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.272e-05/0.8858, allocations: 95.64 kB / 1.177 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8859, allocations: 0 / 1.177 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002674/0.8861, allocations: 23.94 kB / 1.177 GB, free: 9.891 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.0002492/0.8864, allocations: 123.2 kB / 1.177 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.8866, allocations: 79.88 kB / 1.177 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8867, allocations: 0 / 1.177 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.8868, allocations: 43.91 kB / 1.177 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.8871, allocations: 8 kB / 1.177 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.8876, allocations: 217.8 kB / 1.177 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.888, allocations: 0.6846 MB / 1.178 GB, free: 8.68 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.199e-05/0.8881, allocations: 12.53 kB / 1.178 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.8881, allocations: 11.44 kB / 1.178 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of SimCode: time 2.415e-06/0.8881, allocations: 0 / 1.178 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of Templates: time 0.004072/0.8922, allocations: 1.047 MB / 1.179 GB, free: 7.621 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 -s cvode -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