Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002454/0.002454, allocations: 165.9 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.59/1.59, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.997/2.997, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.9815 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.541e-05/3.725e-05, allocations: 8.891 kB / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003045/0.003082, allocations: 1.62 MB / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004364/0.007446, allocations: 3.11 MB / 0.9861 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/0.007524, allocations: 3.938 kB / 0.9861 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.569e-05/0.007559, allocations: 7.922 kB / 0.9861 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.382e-05/0.007643, allocations: 11.88 kB / 0.9861 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005965/0.00824, allocations: 139.3 kB / 0.9862 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.0084, allocations: 95.64 kB / 0.9863 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.723e-05/0.008487, allocations: 4 kB / 0.9863 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.008672, allocations: 59.81 kB / 0.9864 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.531e-05/0.008767, allocations: 31.91 kB / 0.9864 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.00879, allocations: 4 kB / 0.9864 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000296/0.009086, allocations: 103.6 kB / 0.9865 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/0.009113, allocations: 11.98 kB / 0.9865 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.009158, allocations: 19.92 kB / 0.9866 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.00946, allocations: 131.6 kB / 0.9867 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.009466, allocations: 8 kB / 0.9867 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.102e-06/0.009468, allocations: 0 / 0.9867 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.009472, allocations: 0 / 0.9867 GB, free: 6.535 MB / 0.9356 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.0006456/0.01012, allocations: 321.9 kB / 0.987 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.01016, allocations: 8.031 kB / 0.987 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002369/0.01039, allocations: 28.81 kB / 0.987 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.01067, allocations: 148.7 kB / 0.9872 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.01069, allocations: 12.38 kB / 0.9872 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.0107, allocations: 384 / 0.9872 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.01094, allocations: 78.2 kB / 0.9873 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.01095, allocations: 192 / 0.9873 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.01097, allocations: 12.12 kB / 0.9873 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.01097, allocations: 0 / 0.9873 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.01119, allocations: 67.95 kB / 0.9873 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.01166, allocations: 256.5 kB / 0.9876 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.01192, allocations: 86.53 kB / 0.9877 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.01203, allocations: 36.84 kB / 0.9877 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006811/0.01271, allocations: 360.2 kB / 0.988 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.01274, allocations: 38.84 kB / 0.9881 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.01274, allocations: 0 / 0.9881 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.000449/0.01319, allocations: 137.5 kB / 0.9882 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.01324, allocations: 55.39 kB / 0.9883 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.01336, allocations: 117.8 kB / 0.9884 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.01338, allocations: 29.7 kB / 0.9884 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.682e-05/0.01346, allocations: 96.08 kB / 0.9885 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.01349, allocations: 27.75 kB / 0.9885 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.01355, allocations: 25.7 kB / 0.9886 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.01371, allocations: 322.8 kB / 0.9889 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.84e-05/0.01381, allocations: 35.91 kB / 0.9889 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.01392, allocations: 49.64 kB / 0.9889 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.01413, allocations: 77.67 kB / 0.989 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01413, allocations: 0 / 0.989 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000271/0.0144, allocations: 117.5 kB / 0.9891 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.01442, allocations: 4 kB / 0.9891 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01442, allocations: 4 kB / 0.9891 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.01444, allocations: 0 / 0.9891 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.01458, allocations: 19.98 kB / 0.9892 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.01459, allocations: 0 / 0.9892 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.847e-05/0.01467, allocations: 7.984 kB / 0.9892 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.01468, allocations: 0 / 0.9892 GB, free: 3.809 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 0.0001037/0.01478, allocations: 125.7 kB / 0.9893 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.01482, allocations: 11.94 kB / 0.9893 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003293/0.01515, allocations: 122.5 kB / 0.9894 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01515, allocations: 0 / 0.9894 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.01515, allocations: 0 / 0.9894 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01516, allocations: 4 kB / 0.9894 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.01534, allocations: 133.2 kB / 0.9895 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.01534, allocations: 0 / 0.9895 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.01546, allocations: 19.98 kB / 0.9896 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.01546, allocations: 3.984 kB / 0.9896 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.01547, allocations: 4 kB / 0.9896 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.01547, allocations: 3.938 kB / 0.9896 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01547, allocations: 80 / 0.9896 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.01579, allocations: 215.3 kB / 0.9898 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.01581, allocations: 8.141 kB / 0.9898 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.01583, allocations: 0 / 0.9898 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.01594, allocations: 11.92 kB / 0.9898 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.01599, allocations: 3.984 kB / 0.9898 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.016, allocations: 8 kB / 0.9898 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.416e-05/0.01607, allocations: 99.27 kB / 0.9899 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.01607, allocations: 0 / 0.9899 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002826/0.01636, allocations: 23.94 kB / 0.9899 GB, free: 2.965 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.0002385/0.01659, allocations: 111.2 kB / 0.99 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002731/0.01687, allocations: 75.89 kB / 0.9901 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01687, allocations: 4.062 kB / 0.9901 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.01698, allocations: 39.92 kB / 0.9901 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.01725, allocations: 7.938 kB / 0.9902 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.01773, allocations: 201.3 kB / 0.9903 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.688e-05/0.01781, allocations: 75.33 kB / 0.9904 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.476e-05/0.01786, allocations: 8 kB / 0.9904 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/0.01791, allocations: 16.48 kB / 0.9904 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.01791, allocations: 0 / 0.9904 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of Templates: time 0.004492/0.0224, allocations: 1.042 MB / 0.9915 GB, free: 1.352 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.605043467134237]