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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.599/2.599, allocations: 443.5 MB / 0.7304 GB, free: 14.05 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.91 kB / 1.059 GB, free: 384 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3086, allocations: 160.7 MB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003204/0.3118, allocations: 1.632 MB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004431/0.3163, allocations: 3.304 MB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.941e-05/0.3163, allocations: 0 / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.899e-05/0.3164, allocations: 3.938 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.3165, allocations: 19.84 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005348/0.317, allocations: 123.5 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.3171, allocations: 79.7 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.576e-05/0.3172, allocations: 8.188 kB / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.3174, allocations: 39.83 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.963e-05/0.3175, allocations: 35.84 kB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.3175, allocations: 8 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002986/0.3178, allocations: 107.8 kB / 1.221 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.3178, allocations: 19.98 kB / 1.221 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.672e-05/0.3179, allocations: 31.8 kB / 1.221 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.3181, allocations: 127.5 kB / 1.222 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3181, allocations: 3.938 kB / 1.222 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3181, allocations: 0 / 1.222 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.3181, allocations: 0 / 1.222 GB, free: 9.785 MB / 0.9669 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.0007059/0.3188, allocations: 387.1 kB / 1.222 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.3189, allocations: 8.031 kB / 1.222 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.3189, allocations: 12.89 kB / 1.222 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.3191, allocations: 176.3 kB / 1.222 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.3191, allocations: 8.312 kB / 1.222 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.3191, allocations: 4.375 kB / 1.222 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.3194, allocations: 77.59 kB / 1.222 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.3194, allocations: 0 / 1.222 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.3194, allocations: 4 kB / 1.222 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3194, allocations: 4 kB / 1.222 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.3196, allocations: 79.88 kB / 1.222 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.3202, allocations: 320.7 kB / 1.223 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.3205, allocations: 86.53 kB / 1.223 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.3206, allocations: 37.03 kB / 1.223 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009109/0.3215, allocations: 0.7604 MB / 1.223 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.3215, allocations: 34.56 kB / 1.223 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.3215, allocations: 112 / 1.223 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004368/0.322, allocations: 145.5 kB / 1.224 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.322, allocations: 55.41 kB / 1.224 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.3221, allocations: 117.9 kB / 1.224 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.3221, allocations: 29.7 kB / 1.224 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.011e-05/0.3222, allocations: 92.08 kB / 1.224 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.3223, allocations: 27.75 kB / 1.224 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.247e-05/0.3223, allocations: 25.7 kB / 1.224 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3225, allocations: 318.8 kB / 1.224 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.884e-05/0.3225, allocations: 31.97 kB / 1.224 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.3227, allocations: 41.7 kB / 1.224 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.3228, allocations: 73.69 kB / 1.224 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3228, allocations: 4.188 kB / 1.224 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002399/0.3231, allocations: 117.5 kB / 1.225 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3231, allocations: 9.344 kB / 1.225 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.3231, allocations: 0 / 1.225 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.195e-05/0.3231, allocations: 7.938 kB / 1.225 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.3233, allocations: 19.92 kB / 1.225 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.3233, allocations: 7.984 kB / 1.225 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.126e-05/0.3234, allocations: 4.031 kB / 1.225 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.3234, allocations: 4 kB / 1.225 GB, free: 6.352 MB / 0.9669 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 9.499e-05/0.3235, allocations: 117.8 kB / 1.225 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.3235, allocations: 7.953 kB / 1.225 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003156/0.3238, allocations: 118 kB / 1.225 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.3238, allocations: 3.938 kB / 1.225 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3238, allocations: 0 / 1.225 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3238, allocations: 7.938 kB / 1.225 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.324, allocations: 193.6 kB / 1.225 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3241, allocations: 3.984 kB / 1.225 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.3242, allocations: 15.98 kB / 1.225 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.3242, allocations: 3.984 kB / 1.225 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.3242, allocations: 4 kB / 1.225 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.3242, allocations: 11.88 kB / 1.225 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3242, allocations: 0 / 1.225 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.3245, allocations: 199.9 kB / 1.225 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.3245, allocations: 89.06 kB / 1.225 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.3246, allocations: 0 / 1.225 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3247, allocations: 11.92 kB / 1.225 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.3247, allocations: 7.938 kB / 1.225 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.3247, allocations: 0 / 1.225 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.883e-05/0.3248, allocations: 95.27 kB / 1.225 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3248, allocations: 0 / 1.225 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002599/0.325, allocations: 31.92 kB / 1.225 GB, free: 5.344 MB / 0.9669 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.0002311/0.3253, allocations: 111.2 kB / 1.226 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002654/0.3255, allocations: 80 kB / 1.226 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3255, allocations: 3.938 kB / 1.226 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.832e-05/0.3256, allocations: 39.97 kB / 1.226 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.326, allocations: 8 kB / 1.226 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000493/0.3264, allocations: 229.6 kB / 1.226 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.3268, allocations: 0.6846 MB / 1.227 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.822e-05/0.3268, allocations: 11.98 kB / 1.227 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.3269, allocations: 11.44 kB / 1.227 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of SimCode: time 4.91e-07/0.3269, allocations: 0 / 1.227 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of Templates: time 0.00407/0.3309, allocations: 1.052 MB / 1.228 GB, free: 3.066 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.025031497702003]