Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000846/0.000846, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009002/0.0009002, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8846/0.8846, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.767/1.767, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.9997 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.43e-05, allocations: 6.281 kB / 0.9997 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002119/0.002143, allocations: 1.596 MB / 1.001 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002656/0.004799, allocations: 3.13 MB / 1.004 GB, free: 7.543 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.00486, allocations: 4 kB / 1.004 GB, free: 7.539 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.00489, allocations: 3.938 kB / 1.004 GB, free: 7.535 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 7.39e-05/0.004964, allocations: 23.78 kB / 1.004 GB, free: 7.512 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.005437, allocations: 135.4 kB / 1.004 GB, free: 7.379 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.005544, allocations: 87.66 kB / 1.005 GB, free: 7.293 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 8.608e-05/0.00563, allocations: 15.97 kB / 1.005 GB, free: 7.277 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.005767, allocations: 55.83 kB / 1.005 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 6.725e-05/0.005834, allocations: 35.89 kB / 1.005 GB, free: 7.188 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.005849, allocations: 8 kB / 1.005 GB, free: 7.18 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.006019, allocations: 87.78 kB / 1.005 GB, free: 7.094 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.006035, allocations: 15.92 kB / 1.005 GB, free: 7.078 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.006061, allocations: 19.98 kB / 1.005 GB, free: 7.059 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.006252, allocations: 143.5 kB / 1.005 GB, free: 6.918 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.006255, allocations: 0 / 1.005 GB, free: 6.918 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.924e-06/0.006257, allocations: 0 / 1.005 GB, free: 6.918 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.006261, allocations: 0 / 1.005 GB, free: 6.918 MB / 0.9167 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.0004235/0.006685, allocations: 321.9 kB / 1.005 GB, free: 6.574 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.006724, allocations: 12.75 kB / 1.005 GB, free: 6.562 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/0.006759, allocations: 38.73 kB / 1.005 GB, free: 6.516 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.006891, allocations: 24.88 kB / 1.005 GB, free: 6.492 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.007089, allocations: 133.7 kB / 1.005 GB, free: 6.336 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.007101, allocations: 4.375 kB / 1.005 GB, free: 6.332 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.007113, allocations: 4.125 kB / 1.005 GB, free: 6.328 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.007263, allocations: 85.66 kB / 1.006 GB, free: 6.238 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.007271, allocations: 4 kB / 1.006 GB, free: 6.234 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.007282, allocations: 3.984 kB / 1.006 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.007288, allocations: 0 / 1.006 GB, free: 6.23 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.007405, allocations: 75.83 kB / 1.006 GB, free: 6.156 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.007733, allocations: 287.8 kB / 1.006 GB, free: 5.832 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.007888, allocations: 90.52 kB / 1.006 GB, free: 5.734 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.772e-05/0.007946, allocations: 44.78 kB / 1.006 GB, free: 5.688 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000406/0.008352, allocations: 352.5 kB / 1.006 GB, free: 5.324 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.008373, allocations: 30.56 kB / 1.006 GB, free: 5.285 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.008374, allocations: 0 / 1.006 GB, free: 5.285 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0002741/0.008648, allocations: 149.5 kB / 1.007 GB, free: 5.133 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.008679, allocations: 55.41 kB / 1.007 GB, free: 5.066 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.061e-05/0.00875, allocations: 117.8 kB / 1.007 GB, free: 4.941 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.00876, allocations: 25.7 kB / 1.007 GB, free: 4.91 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/0.00881, allocations: 100.1 kB / 1.007 GB, free: 4.809 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.008825, allocations: 31.69 kB / 1.007 GB, free: 4.777 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.008864, allocations: 25.7 kB / 1.007 GB, free: 4.746 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.531e-05/0.008939, allocations: 318.8 kB / 1.007 GB, free: 4.426 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-05/0.008992, allocations: 27.98 kB / 1.007 GB, free: 4.398 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.637e-05/0.009048, allocations: 45.7 kB / 1.007 GB, free: 4.348 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.009156, allocations: 77.69 kB / 1.007 GB, free: 4.266 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.009158, allocations: 0 / 1.007 GB, free: 4.266 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001379/0.009296, allocations: 113.5 kB / 1.007 GB, free: 4.148 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.009309, allocations: 4 kB / 1.007 GB, free: 4.145 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.009315, allocations: 3.984 kB / 1.007 GB, free: 4.141 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.009328, allocations: 8.078 kB / 1.007 GB, free: 4.133 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.1e-05/0.009409, allocations: 23.92 kB / 1.007 GB, free: 4.109 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.009415, allocations: 3.938 kB / 1.007 GB, free: 4.105 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/0.009445, allocations: 4 kB / 1.007 GB, free: 4.102 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.009452, allocations: 4 kB / 1.007 GB, free: 4.098 MB / 0.9167 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 6.197e-05/0.009514, allocations: 113.8 kB / 1.008 GB, free: 3.977 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.009537, allocations: 11.94 kB / 1.008 GB, free: 3.965 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.009729, allocations: 126.2 kB / 1.008 GB, free: 3.832 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.009732, allocations: 3.938 kB / 1.008 GB, free: 3.828 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.009736, allocations: 3.938 kB / 1.008 GB, free: 3.824 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.00974, allocations: 0 / 1.008 GB, free: 3.824 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.009861, allocations: 152.7 kB / 1.008 GB, free: 3.633 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.009862, allocations: 0 / 1.008 GB, free: 3.633 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.612e-05/0.009918, allocations: 23.92 kB / 1.008 GB, free: 3.609 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.00992, allocations: 0 / 1.008 GB, free: 3.609 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.009929, allocations: 4 kB / 1.008 GB, free: 3.605 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.009931, allocations: 3.938 kB / 1.008 GB, free: 3.602 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.009932, allocations: 4 kB / 1.008 GB, free: 3.598 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.01009, allocations: 203.5 kB / 1.008 GB, free: 3.383 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-06/0.01009, allocations: 11.92 kB / 1.008 GB, free: 3.371 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.01011, allocations: 4 kB / 1.008 GB, free: 3.367 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.346e-05/0.01015, allocations: 7.938 kB / 1.008 GB, free: 3.359 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.01018, allocations: 7.984 kB / 1.008 GB, free: 3.352 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.01019, allocations: 4 kB / 1.008 GB, free: 3.348 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.459e-05/0.01022, allocations: 98.89 kB / 1.008 GB, free: 3.254 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01023, allocations: 0 / 1.008 GB, free: 3.254 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001714/0.0104, allocations: 27.95 kB / 1.008 GB, free: 3.227 MB / 0.9167 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.000428/0.01082, allocations: 0.7441 MB / 1.009 GB, free: 2.457 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001492/0.01097, allocations: 83.94 kB / 1.009 GB, free: 2.375 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01097, allocations: 0 / 1.009 GB, free: 2.375 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.937e-05/0.01102, allocations: 43.97 kB / 1.009 GB, free: 2.332 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.01123, allocations: 13.48 kB / 1.009 GB, free: 2.32 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.01231, allocations: 1.508 MB / 1.011 GB, free: 0.7227 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.821e-05/0.01236, allocations: 83.31 kB / 1.011 GB, free: 0.6211 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.183e-05/0.0124, allocations: 16 kB / 1.011 GB, free: 0.6055 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.01245, allocations: 20.5 kB / 1.011 GB, free: 0.5859 MB / 0.9167 GB Notification: Performance of SimCode: time 7.02e-07/0.01245, allocations: 0 / 1.011 GB, free: 0.5859 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.03015, allocations: 2.98 MB / 1.014 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.12/7.15, allocations: 7.125 kB / 1.014 GB, free: 13.75 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv --start-time 0 --stop-time 50 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv. Warning: Get data of variable rayleighNumber.Ra from file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.742878634482622]