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.001881/0.001881, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.002322/0.002322, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.465/1.465, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.288/3.288, allocations: 0.49 GB / 0.7916 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 68.33 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3368, allocations: 176.1 MB / 1.321 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003324/0.3401, allocations: 1.638 MB / 1.322 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004271/0.3444, allocations: 3.366 MB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.576e-05/0.3444, allocations: 0 / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.321e-05/0.3444, allocations: 11.86 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.166e-05/0.3445, allocations: 15.88 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.345, allocations: 139.4 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.3451, allocations: 79.77 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.565e-05/0.3452, allocations: 7.984 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.3454, allocations: 55.78 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.436e-05/0.3455, allocations: 43.83 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.3455, allocations: 4 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002782/0.3458, allocations: 103.8 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/0.3458, allocations: 19.92 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.3458, allocations: 31.84 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.3461, allocations: 135.7 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3461, allocations: 0 / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3461, allocations: 0 / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.3461, allocations: 4 kB / 1.326 GB, free: 13.63 MB / 1.029 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.0005932/0.3467, allocations: 403 kB / 1.327 GB, free: 13.19 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3467, allocations: 11.98 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.443e-05/0.3468, allocations: 34.75 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.347, allocations: 24.88 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.3472, allocations: 198 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.3472, allocations: 4.375 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.3473, allocations: 8.375 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.3475, allocations: 81.59 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3475, allocations: 0 / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.3475, allocations: 0 / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3475, allocations: 0 / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002175/0.3477, allocations: 79.88 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.3482, allocations: 332.7 kB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.3484, allocations: 90.52 kB / 1.328 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.3485, allocations: 36.84 kB / 1.328 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000879/0.3494, allocations: 0.7568 MB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.3494, allocations: 34.56 kB / 1.328 GB, free: 11.28 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.3494, allocations: 0 / 1.328 GB, free: 11.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004045/0.3498, allocations: 137.5 kB / 1.328 GB, free: 11.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.3499, allocations: 55.41 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.35, allocations: 125.8 kB / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.35, allocations: 29.7 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.3501, allocations: 96.06 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.3501, allocations: 27.75 kB / 1.329 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.3501, allocations: 25.7 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3503, allocations: 322.8 kB / 1.329 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.272e-05/0.3504, allocations: 31.92 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.3505, allocations: 45.69 kB / 1.329 GB, free: 10.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.3507, allocations: 73.69 kB / 1.329 GB, free: 10.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3507, allocations: 0 / 1.329 GB, free: 10.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002634/0.3509, allocations: 113.9 kB / 1.329 GB, free: 10.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3509, allocations: 16.02 kB / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3509, allocations: 112 / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.351, allocations: 7.875 kB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.3511, allocations: 19.98 kB / 1.329 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.3511, allocations: 80 / 1.329 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.119e-05/0.3512, allocations: 19.89 kB / 1.329 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.3512, allocations: 7.984 kB / 1.329 GB, free: 10.07 MB / 1.029 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.988e-05/0.3513, allocations: 117.8 kB / 1.33 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.3513, allocations: 7.953 kB / 1.33 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.3516, allocations: 118 kB / 1.33 GB, free: 9.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.3517, allocations: 3.938 kB / 1.33 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3517, allocations: 0 / 1.33 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3517, allocations: 4 kB / 1.33 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.3519, allocations: 189.6 kB / 1.33 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3519, allocations: 0 / 1.33 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.352, allocations: 19.92 kB / 1.33 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.352, allocations: 4 kB / 1.33 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.352, allocations: 4 kB / 1.33 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.352, allocations: 8.125 kB / 1.33 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.352, allocations: 0 / 1.33 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.3523, allocations: 203.4 kB / 1.33 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-05/0.3524, allocations: 89 kB / 1.33 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.3524, allocations: 3.984 kB / 1.33 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.3525, allocations: 11.94 kB / 1.33 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.3525, allocations: 7.984 kB / 1.33 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.3525, allocations: 4 kB / 1.33 GB, free: 9.195 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.231e-05/0.3526, allocations: 99.89 kB / 1.33 GB, free: 9.102 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3526, allocations: 0 / 1.33 GB, free: 9.102 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002565/0.3529, allocations: 20 kB / 1.33 GB, free: 9.082 MB / 1.029 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.0007299/0.3536, allocations: 0.7592 MB / 1.331 GB, free: 8.297 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002397/0.3538, allocations: 71.89 kB / 1.331 GB, free: 8.227 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3538, allocations: 3.938 kB / 1.331 GB, free: 8.223 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.93e-05/0.3539, allocations: 40.05 kB / 1.331 GB, free: 8.184 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.3542, allocations: 15.92 kB / 1.331 GB, free: 8.168 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.356, allocations: 1.524 MB / 1.333 GB, free: 6.555 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.3563, allocations: 0.6922 MB / 1.333 GB, free: 5.836 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.642e-05/0.3564, allocations: 12.56 kB / 1.333 GB, free: 5.824 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.3564, allocations: 27.42 kB / 1.333 GB, free: 5.797 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3564, allocations: 4 kB / 1.333 GB, free: 5.793 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.3804, allocations: 2.325 MB / 1.336 GB, free: 3.609 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.039/8.419, allocations: 10.27 kB / 1.336 GB, free: 3.602 MB / 1.029 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 15.025761640165001]