Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001671/0.001671, allocations: 84.73 kB / 19.44 MB, free: 464 kB / 13.93 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.002493/0.002493, allocations: 161.7 kB / 22.75 MB, free: 1.789 MB / 18.57 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.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 5.344 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.238/3.238, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.184e-05, allocations: 5.797 kB / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003214/0.003246, allocations: 1.618 MB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004741/0.007987, allocations: 3.127 MB / 0.8823 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.773e-05/0.008055, allocations: 0 / 0.8823 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.785e-05/0.008093, allocations: 11.88 kB / 0.8823 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.158e-05/0.008184, allocations: 13.2 kB / 0.8823 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005869/0.008771, allocations: 140.5 kB / 0.8824 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.008921, allocations: 85.3 kB / 0.8825 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.239e-05/0.008994, allocations: 4 kB / 0.8825 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.009191, allocations: 63.81 kB / 0.8826 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.965e-05/0.00928, allocations: 30.38 kB / 0.8826 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.009304, allocations: 7.984 kB / 0.8826 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002692/0.009573, allocations: 91.73 kB / 0.8827 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.0096, allocations: 19.97 kB / 0.8827 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.794e-05/0.009648, allocations: 19.92 kB / 0.8827 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.009929, allocations: 139.5 kB / 0.8829 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.009932, allocations: 2.062 kB / 0.8829 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.022e-06/0.009933, allocations: 0 / 0.8829 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.009937, allocations: 0 / 0.8829 GB, free: 1.129 MB / 0.8386 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.0006619/0.0106, allocations: 321.9 kB / 0.8832 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.01064, allocations: 12.75 kB / 0.8832 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002484/0.01089, allocations: 32.81 kB / 0.8832 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.01119, allocations: 144 kB / 0.8834 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.0112, allocations: 4.375 kB / 0.8834 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.01122, allocations: 4.375 kB / 0.8834 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.01146, allocations: 81.59 kB / 0.8834 GB, free: 496 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.01147, allocations: 0 / 0.8834 GB, free: 496 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.01148, allocations: 3.984 kB / 0.8834 GB, free: 492 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.01149, allocations: 0 / 0.8834 GB, free: 492 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.01171, allocations: 71.95 kB / 0.8835 GB, free: 420 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.01225, allocations: 264.4 kB / 0.8838 GB, free: 124 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.01251, allocations: 82.47 kB / 0.8838 GB, free: 32 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.01265, allocations: 40.92 kB / 0.8839 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007434/0.01339, allocations: 364.3 kB / 0.8842 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.01342, allocations: 34.75 kB / 0.8843 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.01343, allocations: 0 / 0.8843 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0004694/0.0139, allocations: 141.5 kB / 0.8844 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.01394, allocations: 55.34 kB / 0.8845 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.01428, allocations: 121.8 kB / 0.8846 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.0143, allocations: 25.7 kB / 0.8846 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.754e-05/0.01438, allocations: 100.1 kB / 0.8847 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.01441, allocations: 27.75 kB / 0.8847 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.634e-05/0.01447, allocations: 29.7 kB / 0.8847 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.01465, allocations: 310.8 kB / 0.885 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.01475, allocations: 31.97 kB / 0.8851 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.01488, allocations: 49.58 kB / 0.8851 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.01509, allocations: 77.69 kB / 0.8852 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.01509, allocations: 4 kB / 0.8852 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002885/0.01538, allocations: 121.5 kB / 0.8853 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.0154, allocations: 8 kB / 0.8853 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.0154, allocations: 0 / 0.8853 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.01542, allocations: 0 / 0.8853 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.01556, allocations: 19.98 kB / 0.8853 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.01557, allocations: 3.938 kB / 0.8853 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.81e-05/0.01565, allocations: 7.984 kB / 0.8853 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.01566, allocations: 8.031 kB / 0.8854 GB, free: 14.38 MB / 0.8542 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.000109/0.01577, allocations: 121.8 kB / 0.8855 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.01582, allocations: 7.953 kB / 0.8855 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003714/0.01619, allocations: 126.4 kB / 0.8856 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01619, allocations: 0 / 0.8856 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.0162, allocations: 3.938 kB / 0.8856 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.0162, allocations: 3.984 kB / 0.8856 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.0164, allocations: 133.2 kB / 0.8857 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.0164, allocations: 4 kB / 0.8857 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.01652, allocations: 15.98 kB / 0.8858 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.01652, allocations: 4 kB / 0.8858 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.01654, allocations: 7.984 kB / 0.8858 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01654, allocations: 3.938 kB / 0.8858 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01654, allocations: 3.938 kB / 0.8858 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.01689, allocations: 203.4 kB / 0.886 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.01691, allocations: 7.953 kB / 0.886 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.01693, allocations: 0 / 0.886 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.01704, allocations: 15.98 kB / 0.886 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.01708, allocations: 0 / 0.886 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.01709, allocations: 11.92 kB / 0.886 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.667e-05/0.01717, allocations: 99.02 kB / 0.8861 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01717, allocations: 0 / 0.8861 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002681/0.01744, allocations: 20 kB / 0.8861 GB, free: 13.54 MB / 0.8542 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.0002293/0.01767, allocations: 111.2 kB / 0.8862 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002589/0.01793, allocations: 79.89 kB / 0.8863 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01793, allocations: 0 / 0.8863 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.01804, allocations: 43.91 kB / 0.8863 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.01831, allocations: 8 kB / 0.8863 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.0188, allocations: 193.1 kB / 0.8865 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.984e-05/0.01889, allocations: 91.12 kB / 0.8866 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.654e-05/0.01895, allocations: 4 kB / 0.8866 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/0.01899, allocations: 16.48 kB / 0.8866 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/0.01899, allocations: 0 / 0.8866 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of Templates: time 0.004619/0.02361, allocations: 1.048 MB / 0.8877 GB, free: 11.92 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.123237524996512]