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.001242/0.001242, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.00143/0.00143, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.382/1.382, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.64/2.64, allocations: 476.7 MB / 0.7715 GB, free: 4.219 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="cs",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.002028/0.002028, allocations: 63.86 kB / 1.118 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2914, allocations: 170 MB / 1.284 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002761/0.2942, allocations: 1.633 MB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004033/0.2982, allocations: 3.403 MB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.455e-05/0.2983, allocations: 3.938 kB / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.2983, allocations: 7.938 kB / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.758e-05/0.2984, allocations: 11.86 kB / 1.289 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004842/0.2988, allocations: 135.5 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.299, allocations: 91.69 kB / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.584e-05/0.299, allocations: 11.98 kB / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.2992, allocations: 51.78 kB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.978e-05/0.2993, allocations: 39.83 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.2993, allocations: 4 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.2995, allocations: 111.8 kB / 1.29 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.2996, allocations: 15.91 kB / 1.29 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.446e-05/0.2996, allocations: 35.86 kB / 1.29 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.2998, allocations: 128.2 kB / 1.29 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2998, allocations: 0 / 1.29 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2999, allocations: 0 / 1.29 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2999, allocations: 4 kB / 1.29 GB, free: 5.992 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.0005229/0.3004, allocations: 325.8 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3004, allocations: 8.031 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.078e-05/0.3004, allocations: 192 / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.274e-05/0.3005, allocations: 38.75 kB / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.3007, allocations: 28.81 kB / 1.29 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.3009, allocations: 138.4 kB / 1.29 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.3009, allocations: 4.375 kB / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.3009, allocations: 8.125 kB / 1.29 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.3011, allocations: 85.58 kB / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3011, allocations: 0 / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3011, allocations: 0 / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3012, allocations: 4 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.3014, allocations: 75.88 kB / 1.29 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.3018, allocations: 311.7 kB / 1.291 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.302, allocations: 78.55 kB / 1.291 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.991e-05/0.3021, allocations: 40.83 kB / 1.291 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006077/0.3027, allocations: 360.3 kB / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.3028, allocations: 42.78 kB / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.3028, allocations: 0 / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003956/0.3032, allocations: 141.5 kB / 1.291 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.3032, allocations: 51.41 kB / 1.291 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.3033, allocations: 117.8 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.3033, allocations: 29.7 kB / 1.292 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.3034, allocations: 96.08 kB / 1.292 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.3034, allocations: 31.73 kB / 1.292 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.3035, allocations: 17.72 kB / 1.292 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3036, allocations: 326.8 kB / 1.292 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.517e-05/0.3037, allocations: 27.98 kB / 1.292 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.89e-05/0.3038, allocations: 49.62 kB / 1.292 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.304, allocations: 73.69 kB / 1.292 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.304, allocations: 4 kB / 1.292 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002403/0.3042, allocations: 117.5 kB / 1.292 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3042, allocations: 4.109 kB / 1.292 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3042, allocations: 3.938 kB / 1.292 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3042, allocations: 3.938 kB / 1.292 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.3044, allocations: 19.98 kB / 1.292 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.3044, allocations: 0 / 1.292 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.424e-05/0.3044, allocations: 12.12 kB / 1.292 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.3044, allocations: 8.031 kB / 1.292 GB, free: 3.141 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 8.772e-05/0.3045, allocations: 125.7 kB / 1.292 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.3046, allocations: 11.94 kB / 1.292 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.3049, allocations: 117.9 kB / 1.293 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.3049, allocations: 4 kB / 1.293 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3049, allocations: 0 / 1.293 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3049, allocations: 0 / 1.293 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.3051, allocations: 168.7 kB / 1.293 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3051, allocations: 0 / 1.293 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.3052, allocations: 15.98 kB / 1.293 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3052, allocations: 4 kB / 1.293 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.3052, allocations: 7.938 kB / 1.293 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3052, allocations: 3.938 kB / 1.293 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3052, allocations: 0 / 1.293 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.3055, allocations: 203.5 kB / 1.293 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.3055, allocations: 7.953 kB / 1.293 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.3055, allocations: 7.922 kB / 1.293 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.46e-05/0.3056, allocations: 8 kB / 1.293 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.3057, allocations: 7.984 kB / 1.293 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.3057, allocations: 0 / 1.293 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.999e-05/0.3057, allocations: 96.77 kB / 1.293 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3057, allocations: 0 / 1.293 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002481/0.306, allocations: 23.94 kB / 1.293 GB, free: 2.262 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.0006735/0.3066, allocations: 0.7558 MB / 1.294 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.3069, allocations: 91.83 kB / 1.294 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3069, allocations: 0 / 1.294 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.896e-05/0.307, allocations: 35.97 kB / 1.294 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.3072, allocations: 8 kB / 1.294 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.309, allocations: 1.534 MB / 1.295 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.3094, allocations: 0.6924 MB / 1.296 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.092e-05/0.3094, allocations: 8 kB / 1.296 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.3095, allocations: 27.42 kB / 1.296 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/0.3095, allocations: 0 / 1.296 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.3316, allocations: 2.465 MB / 1.299 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.02, allocations: 16.03 kB / 1.299 GB, free: 12.65 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.19052379898494]