Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001285/0.001285, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001544/0.001544, allocations: 213.2 kB / 22.25 MB, free: 4.855 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.42/1.42, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.698/2.698, allocations: 476 MB / 0.7699 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_11_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.002045/0.002045, allocations: 66.48 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2865, allocations: 170 MB / 1.283 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003055/0.2896, allocations: 1.611 MB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004189/0.2938, allocations: 3.119 MB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.044e-05/0.2938, allocations: 0 / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.565e-05/0.2939, allocations: 7.922 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.723e-05/0.2939, allocations: 23.8 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005163/0.2945, allocations: 135.5 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.2946, allocations: 79.7 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.817e-05/0.2947, allocations: 11.98 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.2948, allocations: 47.83 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.129e-05/0.2949, allocations: 39.78 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.2949, allocations: 4 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.2953, allocations: 95.8 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.2953, allocations: 19.97 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.568e-05/0.2953, allocations: 23.86 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.2956, allocations: 133.1 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2956, allocations: 4 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2956, allocations: 0 / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2956, allocations: 0 / 1.288 GB, free: 7.047 MB / 0.9825 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.0006545/0.2962, allocations: 317.9 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2963, allocations: 8.031 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.24e-05/0.2963, allocations: 50.67 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.2965, allocations: 24.88 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.2967, allocations: 134.5 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-06/0.2968, allocations: 384 / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.2968, allocations: 8.359 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.297, allocations: 89.53 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.297, allocations: 0 / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.297, allocations: 0 / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.297, allocations: 4 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.2972, allocations: 75.88 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.2977, allocations: 287.8 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.2979, allocations: 90.47 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.8e-05/0.298, allocations: 40.84 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006351/0.2987, allocations: 340.4 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.2987, allocations: 38.56 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.2987, allocations: 0 / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004821/0.2992, allocations: 149.7 kB / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.2992, allocations: 51.41 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.2993, allocations: 121.8 kB / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.2993, allocations: 25.7 kB / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.2994, allocations: 100 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.2995, allocations: 23.81 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.2995, allocations: 25.7 kB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.2997, allocations: 318.8 kB / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.855e-05/0.2998, allocations: 27.98 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.947e-05/0.2999, allocations: 45.7 kB / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.3, allocations: 77.62 kB / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3, allocations: 0 / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002436/0.3003, allocations: 113.6 kB / 1.29 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3003, allocations: 8.109 kB / 1.29 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3003, allocations: 3.969 kB / 1.29 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3003, allocations: 7.938 kB / 1.29 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.3005, allocations: 27.91 kB / 1.29 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3005, allocations: 192 / 1.29 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.123e-05/0.3005, allocations: 7.938 kB / 1.29 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.3006, allocations: 11.94 kB / 1.29 GB, free: 4.223 MB / 0.9825 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.552e-05/0.3007, allocations: 109.8 kB / 1.29 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.3007, allocations: 7.953 kB / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003092/0.301, allocations: 130.3 kB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/0.301, allocations: 3.938 kB / 1.291 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.301, allocations: 4 kB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.301, allocations: 0 / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.3012, allocations: 152.7 kB / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3012, allocations: 0 / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.3013, allocations: 15.98 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3013, allocations: 0 / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3013, allocations: 4 kB / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.3013, allocations: 7.938 kB / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3013, allocations: 4 kB / 1.291 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.3016, allocations: 207.5 kB / 1.291 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.3016, allocations: 15.88 kB / 1.291 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.3017, allocations: 4 kB / 1.291 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.441e-05/0.3018, allocations: 7.938 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.3018, allocations: 7.984 kB / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.3018, allocations: 0 / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.893e-05/0.3019, allocations: 102.1 kB / 1.291 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3019, allocations: 0 / 1.291 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002888/0.3022, allocations: 20 kB / 1.291 GB, free: 3.355 MB / 0.9825 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.0006975/0.3029, allocations: 0.7614 MB / 1.292 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002465/0.3031, allocations: 71.89 kB / 1.292 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3031, allocations: 0 / 1.292 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.97e-05/0.3032, allocations: 47.97 kB / 1.292 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.3035, allocations: 15.88 kB / 1.292 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.3055, allocations: 1.529 MB / 1.293 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.607e-05/0.3056, allocations: 79.58 kB / 1.294 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.728e-05/0.3056, allocations: 4 kB / 1.294 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.3057, allocations: 23.42 kB / 1.294 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3057, allocations: 0 / 1.294 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.3351, allocations: 2.839 MB / 1.296 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.49, allocations: 6.469 kB / 1.296 GB, free: 13.99 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 17.81704826420173]