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.001317/0.001317, allocations: 103 kB / 16.45 MB, free: 6.449 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: 212.9 kB / 19.43 MB, free: 3.637 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.421/1.421, allocations: 230.6 MB / 252.8 MB, free: 9.117 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 3.184/3.184, allocations: 0.49 GB / 0.7916 GB, free: 33.39 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.00207/0.00207, allocations: 74.42 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3201, allocations: 176.1 MB / 1.321 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.00289/0.323, allocations: 1.624 MB / 1.322 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004027/0.327, allocations: 3.374 MB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.3271, allocations: 3.938 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.18e-05/0.3271, allocations: 3.938 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.985e-05/0.3272, allocations: 15.84 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004721/0.3277, allocations: 139.5 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.3278, allocations: 79.72 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.014e-05/0.3279, allocations: 15.98 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.328, allocations: 47.78 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.728e-05/0.3281, allocations: 39.83 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.3281, allocations: 8 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002694/0.3284, allocations: 111.8 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.3284, allocations: 11.92 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.3285, allocations: 31.86 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.3287, allocations: 139.7 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3287, allocations: 0 / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3287, allocations: 4 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3287, allocations: 0 / 1.326 GB, free: 13.62 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.0005745/0.3293, allocations: 391 kB / 1.327 GB, free: 13.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3293, allocations: 15.98 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.697e-05/0.3294, allocations: 42.72 kB / 1.327 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.3296, allocations: 24.88 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.3298, allocations: 200.2 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.3298, allocations: 4.375 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.3299, allocations: 8.312 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.3301, allocations: 81.58 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.3301, allocations: 0 / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.3301, allocations: 4 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.3301, allocations: 4 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002505/0.3303, allocations: 75.88 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004731/0.3308, allocations: 332.7 kB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.331, allocations: 78.55 kB / 1.328 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.3311, allocations: 40.83 kB / 1.328 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008722/0.332, allocations: 0.7569 MB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.332, allocations: 34.5 kB / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.332, allocations: 0 / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004031/0.3325, allocations: 141.5 kB / 1.329 GB, free: 11.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.3325, allocations: 51.41 kB / 1.329 GB, free: 11.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.3326, allocations: 125.7 kB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3326, allocations: 29.7 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/0.3327, allocations: 88.08 kB / 1.329 GB, free: 10.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.3327, allocations: 31.78 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.3328, allocations: 33.7 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3329, allocations: 314.8 kB / 1.329 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.507e-05/0.333, allocations: 31.97 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.3331, allocations: 45.64 kB / 1.329 GB, free: 10.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.3333, allocations: 77.69 kB / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3333, allocations: 4 kB / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002531/0.3335, allocations: 113.5 kB / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.3335, allocations: 4.109 kB / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.3336, allocations: 3.938 kB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3336, allocations: 7.938 kB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.3337, allocations: 19.98 kB / 1.329 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3337, allocations: 4 kB / 1.329 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.74e-05/0.3338, allocations: 15.88 kB / 1.329 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.3338, allocations: 4.031 kB / 1.329 GB, free: 10.07 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.298e-05/0.3339, allocations: 117.8 kB / 1.33 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.3339, allocations: 8.141 kB / 1.33 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/0.3342, allocations: 125.9 kB / 1.33 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3342, allocations: 3.938 kB / 1.33 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3343, allocations: 0 / 1.33 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3343, allocations: 4 kB / 1.33 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.3345, allocations: 189.6 kB / 1.33 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3345, allocations: 0 / 1.33 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.3346, allocations: 19.98 kB / 1.33 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3346, allocations: 3.938 kB / 1.33 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.3346, allocations: 3.984 kB / 1.33 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3346, allocations: 3.938 kB / 1.33 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3346, allocations: 0 / 1.33 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.3349, allocations: 203.9 kB / 1.33 GB, free: 9.324 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.3349, allocations: 85 kB / 1.33 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.335, allocations: 7.984 kB / 1.33 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3351, allocations: 11.92 kB / 1.33 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.3351, allocations: 4 kB / 1.33 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.3351, allocations: 0 / 1.33 GB, free: 9.199 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.049e-05/0.3352, allocations: 101 kB / 1.33 GB, free: 9.102 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3352, allocations: 0 / 1.33 GB, free: 9.102 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003087/0.3355, allocations: 23.98 kB / 1.33 GB, free: 9.078 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.000733/0.3362, allocations: 0.7592 MB / 1.331 GB, free: 8.293 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.3365, allocations: 83.83 kB / 1.331 GB, free: 8.211 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3365, allocations: 0 / 1.331 GB, free: 8.211 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.3366, allocations: 31.98 kB / 1.331 GB, free: 8.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.3369, allocations: 13.5 kB / 1.331 GB, free: 8.168 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.3387, allocations: 1.531 MB / 1.333 GB, free: 6.547 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.339, allocations: 0.6922 MB / 1.333 GB, free: 5.828 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.856e-05/0.3391, allocations: 11.98 kB / 1.333 GB, free: 5.816 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.689e-05/0.3392, allocations: 19.44 kB / 1.333 GB, free: 5.797 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3392, allocations: 0 / 1.333 GB, free: 5.797 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.3651, allocations: 2.339 MB / 1.336 GB, free: 3.602 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/8.114, allocations: 9.797 kB / 1.336 GB, free: 3.594 MB / 1.029 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv --start-time 0 --stop-time 50 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 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.csv","/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] "Error: Could not read variable rayleighNumber.Ra in file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv. Warning: Get data of variable rayleighNumber.Ra from file Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.640170062892139]