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.00164/0.00164, 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.001997/0.001997, allocations: 218.4 kB / 22.25 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.793 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.076/3.076, allocations: 0.49 GB / 0.7951 GB, free: 35.35 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.001997/0.001997, allocations: 74.61 kB / 1.154 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3434, allocations: 176.1 MB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.00283/0.3462, allocations: 1.615 MB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004096/0.3503, allocations: 3.129 MB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.427e-05/0.3504, allocations: 3.938 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.963e-05/0.3504, allocations: 3.938 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.094e-05/0.3505, allocations: 27.78 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.3511, allocations: 135.4 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.3512, allocations: 75.78 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.538e-05/0.3513, allocations: 12.27 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.3514, allocations: 55.77 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.443e-05/0.3515, allocations: 35.84 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.3515, allocations: 8 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002348/0.3518, allocations: 91.8 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.072e-05/0.3518, allocations: 19.97 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.3518, allocations: 23.86 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.3521, allocations: 139.5 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3521, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3521, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.3521, allocations: 0 / 1.331 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.000546/0.3526, allocations: 321.9 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3527, allocations: 12.03 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/0.3527, allocations: 34.75 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.3529, allocations: 28.86 kB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.3531, allocations: 134.4 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3532, allocations: 4.359 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.3532, allocations: 4.375 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.3534, allocations: 85.53 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3534, allocations: 4 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3534, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3534, allocations: 4 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.3536, allocations: 71.94 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.354, allocations: 291.8 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.3543, allocations: 78.55 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.616e-05/0.3544, allocations: 40.83 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006102/0.355, allocations: 348.6 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.355, allocations: 42.5 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.355, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003895/0.3554, allocations: 141.5 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.3554, allocations: 51.41 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.3556, allocations: 130.8 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.3556, allocations: 25.7 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.3556, allocations: 96.08 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.3557, allocations: 27.73 kB / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.3557, allocations: 25.7 kB / 1.333 GB, free: 9.898 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3559, allocations: 318.8 kB / 1.333 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.729e-05/0.356, allocations: 32.08 kB / 1.333 GB, free: 9.547 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.008e-05/0.356, allocations: 45.58 kB / 1.333 GB, free: 9.496 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.3562, allocations: 81.69 kB / 1.333 GB, free: 9.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3562, allocations: 0 / 1.333 GB, free: 9.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00024/0.3565, allocations: 113.8 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3565, allocations: 8 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3565, allocations: 0 / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3565, allocations: 4.125 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.3566, allocations: 24.02 kB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.3566, allocations: 4.016 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.3567, allocations: 11.94 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.3567, allocations: 11.98 kB / 1.334 GB, free: 9.23 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.313e-05/0.3568, allocations: 118.3 kB / 1.334 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.3568, allocations: 7.953 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.3571, allocations: 118 kB / 1.334 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.3571, allocations: 11.94 kB / 1.334 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3571, allocations: 0 / 1.334 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3571, allocations: 0 / 1.334 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.3573, allocations: 156.7 kB / 1.334 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3573, allocations: 0 / 1.334 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.3574, allocations: 19.92 kB / 1.334 GB, free: 8.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.3574, allocations: 4 kB / 1.334 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.3574, allocations: 0 / 1.334 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3574, allocations: 3.938 kB / 1.334 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3574, allocations: 0 / 1.334 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.3577, allocations: 207.5 kB / 1.334 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.318e-05/0.3577, allocations: 7.891 kB / 1.334 GB, free: 8.516 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.3578, allocations: 8 kB / 1.334 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.104e-05/0.3578, allocations: 7.922 kB / 1.334 GB, free: 8.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.3579, allocations: 7.984 kB / 1.334 GB, free: 8.492 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.3579, allocations: 4 kB / 1.334 GB, free: 8.488 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.94e-05/0.358, allocations: 99.89 kB / 1.334 GB, free: 8.395 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.358, allocations: 0 / 1.334 GB, free: 8.395 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002484/0.3582, allocations: 23.94 kB / 1.334 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.0006778/0.3589, allocations: 0.7536 MB / 1.335 GB, free: 7.594 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.3591, allocations: 79.88 kB / 1.335 GB, free: 7.516 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3591, allocations: 0 / 1.335 GB, free: 7.516 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.092e-05/0.3592, allocations: 31.98 kB / 1.335 GB, free: 7.484 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.3595, allocations: 27.92 kB / 1.335 GB, free: 7.457 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.3613, allocations: 1.529 MB / 1.337 GB, free: 5.84 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.406e-05/0.3614, allocations: 79.19 kB / 1.337 GB, free: 5.742 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.88e-05/0.3614, allocations: 4.547 kB / 1.337 GB, free: 5.738 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.3615, allocations: 23.42 kB / 1.337 GB, free: 5.715 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3615, allocations: 0 / 1.337 GB, free: 5.715 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.3916, allocations: 2.884 MB / 1.34 GB, free: 2.965 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.25, allocations: 5.781 kB / 1.34 GB, free: 2.965 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 & 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: 17.85287051802152]