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.00132/0.00132, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001478/0.001478, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.48/1.48, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.841/2.841, allocations: 0.49 GB / 0.7923 GB, free: 1.344 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.002397/0.002397, allocations: 67.91 kB / 1.15 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7968/0.7992, allocations: 176.1 MB / 1.322 GB, free: 7.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002987/0.8022, allocations: 1.634 MB / 1.323 GB, free: 6.238 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004208/0.8064, allocations: 3.369 MB / 1.326 GB, free: 3.484 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.864e-05/0.8065, allocations: 1.781 kB / 1.326 GB, free: 3.484 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.8065, allocations: 7.922 kB / 1.326 GB, free: 3.477 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.991e-05/0.8066, allocations: 21.58 kB / 1.326 GB, free: 3.457 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005287/0.8071, allocations: 134.6 kB / 1.327 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.8073, allocations: 80.48 kB / 1.327 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.82e-05/0.8073, allocations: 4.312 kB / 1.327 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.8075, allocations: 59.67 kB / 1.327 GB, free: 3.27 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.078e-05/0.8076, allocations: 39.44 kB / 1.327 GB, free: 3.242 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.8076, allocations: 5.438 kB / 1.327 GB, free: 3.242 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002795/0.8079, allocations: 106.6 kB / 1.327 GB, free: 3.188 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.8079, allocations: 18.42 kB / 1.327 GB, free: 3.172 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.8079, allocations: 28.67 kB / 1.327 GB, free: 3.152 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.8082, allocations: 135.5 kB / 1.327 GB, free: 3.066 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.8082, allocations: 1.094 kB / 1.327 GB, free: 3.066 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.263e-06/0.8082, allocations: 3.938 kB / 1.327 GB, free: 3.062 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.8082, allocations: 0 / 1.327 GB, free: 3.062 MB / 1.014 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.0005985/0.8088, allocations: 403.4 kB / 1.327 GB, free: 2.652 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.8088, allocations: 17.95 kB / 1.327 GB, free: 2.645 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.417e-05/0.8089, allocations: 5.891 kB / 1.327 GB, free: 2.641 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.284e-05/0.8089, allocations: 32.06 kB / 1.327 GB, free: 2.602 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.8091, allocations: 28.47 kB / 1.327 GB, free: 2.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.8094, allocations: 187.8 kB / 1.328 GB, free: 2.375 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-06/0.8094, allocations: 5.969 kB / 1.328 GB, free: 2.371 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.8094, allocations: 12 kB / 1.328 GB, free: 2.363 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.8096, allocations: 77.17 kB / 1.328 GB, free: 2.305 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.8096, allocations: 7.922 kB / 1.328 GB, free: 2.297 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.8096, allocations: 5 kB / 1.328 GB, free: 2.293 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.8096, allocations: 1.094 kB / 1.328 GB, free: 2.293 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.8098, allocations: 73.59 kB / 1.328 GB, free: 2.262 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004727/0.8103, allocations: 330.8 kB / 1.328 GB, free: 1.922 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.8105, allocations: 89.84 kB / 1.328 GB, free: 1.859 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.8106, allocations: 36.25 kB / 1.328 GB, free: 1.84 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008494/0.8115, allocations: 0.7579 MB / 1.329 GB, free: 1.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.8115, allocations: 35.91 kB / 1.329 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.8115, allocations: 0 / 1.329 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.0004103/0.8119, allocations: 146.1 kB / 1.329 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.8119, allocations: 56.5 kB / 1.329 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.912e-05/0.812, allocations: 119.1 kB / 1.329 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.8121, allocations: 29.7 kB / 1.329 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.8121, allocations: 91.06 kB / 1.329 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.8121, allocations: 26.34 kB / 1.329 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/0.8122, allocations: 24.3 kB / 1.33 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.8123, allocations: 324.2 kB / 1.33 GB, free: 220 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.792e-05/0.8124, allocations: 28.33 kB / 1.33 GB, free: 208 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.932e-05/0.8125, allocations: 40.92 kB / 1.33 GB, free: 180 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.8127, allocations: 77.22 kB / 1.33 GB, free: 132 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.8127, allocations: 1.547 kB / 1.33 GB, free: 132 kB / 1.014 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002406/0.8129, allocations: 116 kB / 1.33 GB, free: 56 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.8129, allocations: 7.469 kB / 1.33 GB, free: 56 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.8129, allocations: 1.062 kB / 1.33 GB, free: 56 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.813, allocations: 5.156 kB / 1.33 GB, free: 52 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.8131, allocations: 26.41 kB / 1.33 GB, free: 40 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.8131, allocations: 5.156 kB / 1.33 GB, free: 36 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.351e-05/0.8132, allocations: 7.359 kB / 1.33 GB, free: 32 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.8132, allocations: 6.375 kB / 1.33 GB, free: 28 kB / 1.014 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.0001056/0.8133, allocations: 117.3 kB / 1.33 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.8133, allocations: 7.359 kB / 1.33 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003089/0.8136, allocations: 132.7 kB / 1.33 GB, free: 15.81 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.8136, allocations: 1.156 kB / 1.33 GB, free: 15.81 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8136, allocations: 1.031 kB / 1.33 GB, free: 15.81 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.8136, allocations: 0 / 1.33 GB, free: 15.81 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.8139, allocations: 194.3 kB / 1.331 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.8139, allocations: 0 / 1.331 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.814, allocations: 17.14 kB / 1.331 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.814, allocations: 1.156 kB / 1.331 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.814, allocations: 4.875 kB / 1.331 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.814, allocations: 0 / 1.331 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.814, allocations: 1.094 kB / 1.331 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.8143, allocations: 208.7 kB / 1.331 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.8143, allocations: 87.41 kB / 1.331 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.8143, allocations: 4.844 kB / 1.331 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.8144, allocations: 11.2 kB / 1.331 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.8145, allocations: 15.3 kB / 1.331 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.8145, allocations: 2.375 kB / 1.331 GB, free: 15.28 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.185e-05/0.8146, allocations: 95.33 kB / 1.331 GB, free: 15.2 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.8146, allocations: 0 / 1.331 GB, free: 15.2 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002596/0.8148, allocations: 26.06 kB / 1.331 GB, free: 15.19 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.0006543/0.8155, allocations: 0.7534 MB / 1.332 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002492/0.8157, allocations: 86.56 kB / 1.332 GB, free: 14.44 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8157, allocations: 1.125 kB / 1.332 GB, free: 14.44 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.917e-05/0.8158, allocations: 37.3 kB / 1.332 GB, free: 14.42 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.8161, allocations: 11.28 kB / 1.332 GB, free: 14.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.8178, allocations: 1.531 MB / 1.333 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.8181, allocations: 0.694 MB / 1.334 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.761e-05/0.8182, allocations: 11.8 kB / 1.334 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.8183, allocations: 23.92 kB / 1.334 GB, free: 12.29 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.8183, allocations: 0 / 1.334 GB, free: 12.29 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.837, allocations: 2.363 MB / 1.336 GB, free: 11.08 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.856/8.693, allocations: 14.11 kB / 1.336 GB, free: 11.07 MB / 1.029 GB " [Timeout remaining time 291] (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: 14.742389673017897]