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.001714/0.001714, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00149/0.00149, allocations: 216.5 kB / 22.25 MB, free: 5.078 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.42/1.42, allocations: 230.6 MB / 256 MB, free: 8.027 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.727/2.727, allocations: 476.8 MB / 0.7707 GB, free: 4.281 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_11_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.002166/0.002166, allocations: 66.28 kB / 1.117 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3406, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002903/0.3435, allocations: 1.631 MB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004301/0.3478, allocations: 3.396 MB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.003e-05/0.3479, allocations: 4 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.572e-05/0.3479, allocations: 15.81 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.518e-05/0.348, allocations: 15.84 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.3485, allocations: 135.5 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.3487, allocations: 79.77 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.555e-05/0.3487, allocations: 11.92 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.3489, allocations: 55.83 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.594e-05/0.349, allocations: 35.84 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.349, allocations: 8 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002957/0.3493, allocations: 107.8 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.3493, allocations: 19.92 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.3494, allocations: 27.86 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.3496, allocations: 143 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3496, allocations: 0 / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3496, allocations: 0 / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3496, allocations: 4 kB / 1.289 GB, free: 6.004 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.0005642/0.3502, allocations: 313.9 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3502, allocations: 12.03 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.077e-05/0.3503, allocations: 38.73 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.3505, allocations: 24.88 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.3507, allocations: 134.4 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3508, allocations: 8.375 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.3508, allocations: 4.375 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.351, allocations: 89.45 kB / 1.29 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.351, allocations: 0 / 1.29 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.351, allocations: 11.94 kB / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.351, allocations: 0 / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.3512, allocations: 67.95 kB / 1.29 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004985/0.3517, allocations: 303.8 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.3519, allocations: 82.48 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.783e-05/0.352, allocations: 36.84 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006543/0.3527, allocations: 368.3 kB / 1.29 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.3527, allocations: 34.56 kB / 1.29 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.3527, allocations: 0 / 1.29 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004167/0.3531, allocations: 150 kB / 1.291 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.3532, allocations: 51.41 kB / 1.291 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.3533, allocations: 122.9 kB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.3533, allocations: 29.7 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.3534, allocations: 96.08 kB / 1.291 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.3534, allocations: 35.67 kB / 1.291 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.3534, allocations: 25.7 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3536, allocations: 318.8 kB / 1.291 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.587e-05/0.3537, allocations: 27.98 kB / 1.291 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.493e-05/0.3538, allocations: 49.69 kB / 1.291 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.3539, allocations: 73.64 kB / 1.291 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3539, allocations: 4.094 kB / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002404/0.3542, allocations: 113.6 kB / 1.291 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3542, allocations: 7.984 kB / 1.291 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3542, allocations: 3.938 kB / 1.291 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3542, allocations: 7.938 kB / 1.291 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.3544, allocations: 15.98 kB / 1.292 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.3544, allocations: 0 / 1.292 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.003e-05/0.3544, allocations: 8 kB / 1.292 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.3544, allocations: 0 / 1.292 GB, free: 3.168 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 0.0001017/0.3545, allocations: 121.9 kB / 1.292 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.3546, allocations: 11.94 kB / 1.292 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002995/0.3549, allocations: 121.9 kB / 1.292 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3549, allocations: 3.938 kB / 1.292 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3549, allocations: 3.984 kB / 1.292 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3549, allocations: 0 / 1.292 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.3551, allocations: 164.7 kB / 1.292 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3551, allocations: 4 kB / 1.292 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.3552, allocations: 19.98 kB / 1.292 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3552, allocations: 0 / 1.292 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3552, allocations: 0 / 1.292 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/0.3552, allocations: 4.125 kB / 1.292 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3552, allocations: 0 / 1.292 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.3555, allocations: 215.3 kB / 1.292 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.368e-05/0.3555, allocations: 7.891 kB / 1.292 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.3556, allocations: 4 kB / 1.292 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.793e-05/0.3557, allocations: 7.922 kB / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.3557, allocations: 11.98 kB / 1.292 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.3557, allocations: 4 kB / 1.292 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.059e-05/0.3558, allocations: 94.14 kB / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3558, allocations: 0 / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002645/0.356, allocations: 24 kB / 1.292 GB, free: 2.281 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.0006997/0.3567, allocations: 0.7552 MB / 1.293 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002449/0.357, allocations: 76.39 kB / 1.293 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.357, allocations: 4 kB / 1.293 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.3571, allocations: 43.89 kB / 1.293 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.3574, allocations: 13.48 kB / 1.293 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.3592, allocations: 1.528 MB / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.3595, allocations: 0.6924 MB / 1.295 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.699e-05/0.3596, allocations: 8.031 kB / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.975e-05/0.3596, allocations: 27.42 kB / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.3597, allocations: 0 / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.3889, allocations: 2.448 MB / 1.298 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.12, allocations: 6.375 kB / 1.298 GB, free: 12.69 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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/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] "Error: Could not read variable rayleighNumber.Ra in file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv. Warning: Get data of variable rayleighNumber.Ra from file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.6112506139998]