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.0074/0.0074, allocations: 97.8 kB / 15.73 MB, free: 5.996 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.001193/0.001193, allocations: 187 kB / 16.67 MB, free: 5.926 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.727/2.727, allocations: 437 MB / 0.7105 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 71.89 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2712, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002588/0.2738, allocations: 1.598 MB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003588/0.2774, allocations: 3.26 MB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.299e-05/0.2775, allocations: 0 / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.362e-05/0.2775, allocations: 3.938 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.304e-05/0.2776, allocations: 19.84 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000467/0.2781, allocations: 115.5 kB / 1.172 GB, free: 1.781 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.2782, allocations: 79.75 kB / 1.172 GB, free: 1.703 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.856e-05/0.2783, allocations: 16.11 kB / 1.172 GB, free: 1.688 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.2784, allocations: 43.84 kB / 1.172 GB, free: 1.645 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.047e-05/0.2785, allocations: 39.83 kB / 1.172 GB, free: 1.605 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.2786, allocations: 8 kB / 1.172 GB, free: 1.598 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002921/0.2789, allocations: 103.8 kB / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.2789, allocations: 11.98 kB / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.2789, allocations: 35.78 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.2792, allocations: 115.6 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2792, allocations: 0 / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2792, allocations: 0 / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2792, allocations: 8 kB / 1.172 GB, free: 1.328 MB / 0.92 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.0005302/0.2798, allocations: 387.1 kB / 1.172 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.2798, allocations: 12.03 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.2799, allocations: 8.891 kB / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.28, allocations: 176.2 kB / 1.173 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.28, allocations: 8.375 kB / 1.173 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.28, allocations: 4.375 kB / 1.173 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.2802, allocations: 89.52 kB / 1.173 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.2802, allocations: 0 / 1.173 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.2803, allocations: 4 kB / 1.173 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2803, allocations: 0 / 1.173 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.2805, allocations: 75.94 kB / 1.173 GB, free: 500 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.2809, allocations: 324.7 kB / 1.173 GB, free: 124 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.2812, allocations: 94.55 kB / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.2813, allocations: 44.83 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007706/0.2821, allocations: 0.7566 MB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.2821, allocations: 38.78 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.2821, allocations: 3.938 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0003862/0.2825, allocations: 133.5 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.2825, allocations: 51.52 kB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.484e-05/0.2826, allocations: 133.7 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.2827, allocations: 25.7 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.2827, allocations: 92.09 kB / 1.174 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.2828, allocations: 35.72 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.2828, allocations: 17.72 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2829, allocations: 322.8 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.241e-05/0.283, allocations: 27.98 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.687e-05/0.2831, allocations: 49.62 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.2833, allocations: 73.69 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2833, allocations: 0 / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002449/0.2836, allocations: 117.8 kB / 1.175 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2836, allocations: 8 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2836, allocations: 4.031 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.2836, allocations: 3.938 kB / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.2838, allocations: 23.98 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2838, allocations: 0 / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.299e-05/0.2839, allocations: 7.984 kB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.2839, allocations: 4 kB / 1.175 GB, free: 13.87 MB / 0.9356 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.744e-05/0.284, allocations: 113.8 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.284, allocations: 7.953 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002898/0.2843, allocations: 122 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2843, allocations: 3.938 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2843, allocations: 0 / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.2843, allocations: 4.172 kB / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.2845, allocations: 189.6 kB / 1.175 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2845, allocations: 3.938 kB / 1.175 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.2846, allocations: 19.98 kB / 1.175 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.2847, allocations: 0 / 1.175 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.2847, allocations: 11.94 kB / 1.175 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2847, allocations: 3.938 kB / 1.175 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.2847, allocations: 0 / 1.175 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.285, allocations: 207.4 kB / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.285, allocations: 85.05 kB / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.285, allocations: 0 / 1.176 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.2851, allocations: 15.94 kB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.2852, allocations: 7.984 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-06/0.2852, allocations: 4 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.969e-05/0.2853, allocations: 95.27 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2853, allocations: 0 / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002648/0.2855, allocations: 20 kB / 1.176 GB, free: 12.87 MB / 0.9356 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.0001982/0.2857, allocations: 123.1 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.286, allocations: 75.95 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.286, allocations: 0 / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.916e-05/0.2861, allocations: 43.92 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.2864, allocations: 9.875 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.2868, allocations: 221.8 kB / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.287, allocations: 0.6923 MB / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.605e-05/0.2871, allocations: 4 kB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.2872, allocations: 19.42 kB / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.2872, allocations: 0 / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of Templates: time 0.003281/0.2904, allocations: 1.01 MB / 1.178 GB, free: 10.62 MB / 0.9356 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/jenkins/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