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.00156/0.00156, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001744/0.001744, allocations: 210.7 kB / 22.24 MB, free: 5.105 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 7.824 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.976/2.976, allocations: 0.49 GB / 0.7951 GB, free: 35.48 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="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.00192/0.00192, allocations: 63.59 kB / 1.154 GB, free: 25.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3155, allocations: 176.1 MB / 1.326 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002946/0.3185, allocations: 1.611 MB / 1.327 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003971/0.3225, allocations: 3.137 MB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.645e-05/0.3225, allocations: 0 / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.388e-05/0.3226, allocations: 3.938 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.457e-05/0.3226, allocations: 15.86 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005353/0.3232, allocations: 143.4 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.3233, allocations: 75.72 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.182e-05/0.3234, allocations: 20.27 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.3235, allocations: 43.84 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.3237, allocations: 39.83 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.3237, allocations: 8 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002617/0.3239, allocations: 87.8 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.003e-05/0.324, allocations: 23.91 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.324, allocations: 27.86 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.3243, allocations: 127.5 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3243, allocations: 4 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3243, allocations: 3.938 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.3243, allocations: 0 / 1.331 GB, free: 11.98 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.0006019/0.3249, allocations: 321.9 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.3249, allocations: 12.03 kB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.583e-05/0.325, allocations: 34.69 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.3252, allocations: 28.86 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.3254, allocations: 134.4 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.3254, allocations: 4.359 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.3255, allocations: 8.375 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.3257, allocations: 81.58 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3257, allocations: 0 / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3257, allocations: 4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.3257, allocations: 0 / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.3259, allocations: 75.88 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005087/0.3264, allocations: 295.8 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.3266, allocations: 82.55 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.812e-05/0.3267, allocations: 40.83 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006395/0.3274, allocations: 348.5 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.3274, allocations: 34.56 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.3274, allocations: 0 / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003945/0.3278, allocations: 137.5 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.3278, allocations: 55.34 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.3279, allocations: 131.5 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.328, allocations: 29.8 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.328, allocations: 96.02 kB / 1.333 GB, free: 9.883 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.328, allocations: 31.73 kB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.3281, allocations: 17.72 kB / 1.333 GB, free: 9.828 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3282, allocations: 326.8 kB / 1.333 GB, free: 9.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.329e-05/0.3283, allocations: 27.98 kB / 1.333 GB, free: 9.473 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.516e-05/0.3284, allocations: 41.69 kB / 1.333 GB, free: 9.426 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.3286, allocations: 78 kB / 1.333 GB, free: 9.344 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3286, allocations: 0 / 1.333 GB, free: 9.344 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002483/0.3288, allocations: 125.5 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3289, allocations: 4 kB / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3289, allocations: 0 / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3289, allocations: 3.938 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.329, allocations: 19.98 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.329, allocations: 3.938 kB / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.052e-05/0.3291, allocations: 15.94 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.3291, allocations: 4 kB / 1.334 GB, free: 9.164 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 0.0001657/0.3293, allocations: 114.5 kB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.3293, allocations: 15.92 kB / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.3296, allocations: 114 kB / 1.334 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.3296, allocations: 7.938 kB / 1.334 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3296, allocations: 3.984 kB / 1.334 GB, free: 8.898 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3296, allocations: 0 / 1.334 GB, free: 8.898 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.3299, allocations: 148.8 kB / 1.334 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3299, allocations: 4.125 kB / 1.334 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.33, allocations: 19.98 kB / 1.334 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.33, allocations: 11.94 kB / 1.334 GB, free: 8.676 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.33, allocations: 3.984 kB / 1.334 GB, free: 8.672 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.33, allocations: 3.938 kB / 1.334 GB, free: 8.668 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.33, allocations: 0 / 1.334 GB, free: 8.668 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.3303, allocations: 207.5 kB / 1.334 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.3303, allocations: 7.891 kB / 1.334 GB, free: 8.441 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.3304, allocations: 4 kB / 1.334 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3305, allocations: 11.92 kB / 1.334 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.3305, allocations: 0 / 1.334 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.3305, allocations: 19.97 kB / 1.334 GB, free: 8.406 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.777e-05/0.3306, allocations: 95.2 kB / 1.334 GB, free: 8.312 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3306, allocations: 0 / 1.334 GB, free: 8.312 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002559/0.3308, allocations: 24 kB / 1.334 GB, free: 8.289 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.0006932/0.3315, allocations: 0.7436 MB / 1.335 GB, free: 7.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002362/0.3318, allocations: 79.89 kB / 1.335 GB, free: 7.441 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3318, allocations: 0 / 1.335 GB, free: 7.441 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.024e-05/0.3319, allocations: 31.98 kB / 1.335 GB, free: 7.41 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.3321, allocations: 11.94 kB / 1.335 GB, free: 7.398 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.3339, allocations: 1.536 MB / 1.337 GB, free: 5.773 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.702e-05/0.334, allocations: 80 kB / 1.337 GB, free: 5.676 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.328e-05/0.3341, allocations: 20 kB / 1.337 GB, free: 5.656 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/0.3341, allocations: 19.44 kB / 1.337 GB, free: 5.637 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.3341, allocations: 0 / 1.337 GB, free: 5.637 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.3638, allocations: 2.878 MB / 1.34 GB, free: 2.898 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.59, allocations: 8.922 kB / 1.34 GB, free: 2.895 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: 16.843465564015787]