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.001642/0.001642, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002146/0.002146, allocations: 216.9 kB / 23.03 MB, free: 4.922 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.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.805 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 2.949/2.949, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_12_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.001971/0.001971, allocations: 66.59 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3282, allocations: 176.1 MB / 1.327 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002943/0.3311, allocations: 1.603 MB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003858/0.335, allocations: 3.129 MB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.008e-05/0.335, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.891e-05/0.3351, allocations: 7.875 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.83e-05/0.3352, allocations: 19.84 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.3357, allocations: 135.5 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.3358, allocations: 79.72 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.227e-05/0.3359, allocations: 16.25 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.3361, allocations: 43.86 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.371e-05/0.3362, allocations: 43.77 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.3362, allocations: 4 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.3364, allocations: 91.84 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.3364, allocations: 19.92 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.228e-05/0.3365, allocations: 27.86 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.3367, allocations: 135.4 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3367, allocations: 7.984 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3367, allocations: 0 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.3367, allocations: 0 / 1.332 GB, free: 12.05 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.0005743/0.3373, allocations: 317.9 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3374, allocations: 12.03 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.281e-05/0.3374, allocations: 192 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.3374, allocations: 34.75 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.3376, allocations: 28.86 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.3379, allocations: 135.4 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.3379, allocations: 4.375 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.3379, allocations: 20.05 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.3381, allocations: 77.59 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.3381, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3382, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3382, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.3384, allocations: 79.88 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.3388, allocations: 287.9 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.3391, allocations: 86.47 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.3392, allocations: 44.83 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006091/0.3398, allocations: 348.3 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.3398, allocations: 34.56 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.3398, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003821/0.3402, allocations: 137.8 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.3402, allocations: 51.41 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.3403, allocations: 126.8 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.3403, allocations: 25.7 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.3404, allocations: 96.03 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.3404, allocations: 35.73 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.3405, allocations: 25.7 kB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3406, allocations: 314.8 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.489e-05/0.3407, allocations: 31.97 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.199e-05/0.3408, allocations: 41.7 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.341, allocations: 81.61 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.341, allocations: 0 / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002334/0.3412, allocations: 121.9 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3412, allocations: 5.719 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3412, allocations: 4 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.3412, allocations: 3.938 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.3414, allocations: 20.09 kB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.3414, allocations: 8.016 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.353e-05/0.3414, allocations: 11.94 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.3415, allocations: 3.984 kB / 1.334 GB, free: 9.234 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 9.278e-05/0.3416, allocations: 120.6 kB / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.3416, allocations: 4 kB / 1.335 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003049/0.3419, allocations: 138 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3419, allocations: 0 / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3419, allocations: 0 / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3419, allocations: 0 / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.3421, allocations: 160.7 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3421, allocations: 0 / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.3422, allocations: 19.98 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3422, allocations: 0 / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3422, allocations: 3.938 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3422, allocations: 4 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3422, allocations: 0 / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.3425, allocations: 203.4 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.3425, allocations: 11.89 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.3425, allocations: 3.938 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.3426, allocations: 7.984 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.3427, allocations: 15.98 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.3427, allocations: 0 / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.274e-05/0.3427, allocations: 99.02 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3427, allocations: 0 / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002515/0.343, allocations: 20 kB / 1.335 GB, free: 8.371 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.0006538/0.3436, allocations: 0.7537 MB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.3439, allocations: 75.89 kB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3439, allocations: 4 kB / 1.336 GB, free: 7.516 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.116e-05/0.344, allocations: 35.92 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.3442, allocations: 19.86 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.3459, allocations: 1.532 MB / 1.338 GB, free: 5.84 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.47e-05/0.346, allocations: 75.19 kB / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.638e-05/0.346, allocations: 12.53 kB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.834e-05/0.3461, allocations: 23.42 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3461, allocations: 0 / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/0.3679, allocations: 2.521 MB / 1.34 GB, free: 3.344 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.76, allocations: 12.73 kB / 1.34 GB, free: 3.336 MB / 1.029 GB " [Timeout remaining time 289] (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: 17.121839762083255]