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.001499/0.001499, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.00166/0.00166, allocations: 210.5 kB / 22.24 MB, free: 5.242 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.333/1.333, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 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 2.929/2.929, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: 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.002019/0.002019, allocations: 75.78 kB / 1.186 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2852, allocations: 181.8 MB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002784/0.288, allocations: 1.614 MB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003974/0.2919, allocations: 3.126 MB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.292, allocations: 0 / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.292, allocations: 3.938 kB / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.394e-05/0.2921, allocations: 23.8 kB / 1.368 GB, free: 9.23 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005425/0.2927, allocations: 143.5 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.2928, allocations: 75.72 kB / 1.368 GB, free: 9.016 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.367e-05/0.2929, allocations: 12.27 kB / 1.368 GB, free: 9.004 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.293, allocations: 43.84 kB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.7e-05/0.2931, allocations: 43.77 kB / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.2931, allocations: 4 kB / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000244/0.2933, allocations: 99.78 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.2934, allocations: 11.98 kB / 1.368 GB, free: 8.805 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.2934, allocations: 27.86 kB / 1.369 GB, free: 8.777 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.2936, allocations: 135.4 kB / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2936, allocations: 0 / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2936, allocations: 0 / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2937, allocations: 0 / 1.369 GB, free: 8.645 MB / 1.061 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.0005372/0.2942, allocations: 318 kB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.2942, allocations: 12.03 kB / 1.369 GB, free: 8.293 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.889e-05/0.2943, allocations: 34.75 kB / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.2945, allocations: 28.86 kB / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.2947, allocations: 140.7 kB / 1.369 GB, free: 8.062 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.2947, allocations: 3.938 kB / 1.369 GB, free: 8.059 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.2947, allocations: 8 kB / 1.369 GB, free: 8.051 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.2949, allocations: 89.58 kB / 1.369 GB, free: 7.957 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.2949, allocations: 0 / 1.369 GB, free: 7.957 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2949, allocations: 4 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.2949, allocations: 3.984 kB / 1.369 GB, free: 7.949 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.2951, allocations: 75.88 kB / 1.369 GB, free: 7.875 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.2956, allocations: 279.9 kB / 1.37 GB, free: 7.559 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.2958, allocations: 86.48 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.787e-05/0.2959, allocations: 40.83 kB / 1.37 GB, free: 7.422 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006374/0.2965, allocations: 352.3 kB / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.2966, allocations: 34.5 kB / 1.37 GB, free: 7.016 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.2966, allocations: 0 / 1.37 GB, free: 7.016 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0003803/0.297, allocations: 141.8 kB / 1.37 GB, free: 6.871 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.297, allocations: 51.41 kB / 1.37 GB, free: 6.809 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.2971, allocations: 133.7 kB / 1.37 GB, free: 6.668 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.2971, allocations: 25.7 kB / 1.37 GB, free: 6.637 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.2972, allocations: 100 kB / 1.371 GB, free: 6.535 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.2972, allocations: 23.78 kB / 1.371 GB, free: 6.512 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.2973, allocations: 25.67 kB / 1.371 GB, free: 6.48 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2974, allocations: 322.8 kB / 1.371 GB, free: 6.156 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-05/0.2975, allocations: 27.98 kB / 1.371 GB, free: 6.129 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.31e-05/0.2976, allocations: 45.69 kB / 1.371 GB, free: 6.078 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.2978, allocations: 81.62 kB / 1.371 GB, free: 5.992 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2978, allocations: 0 / 1.371 GB, free: 5.992 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002399/0.298, allocations: 105.6 kB / 1.371 GB, free: 5.883 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.298, allocations: 12.05 kB / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.298, allocations: 3.938 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.298, allocations: 4.031 kB / 1.371 GB, free: 5.863 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.2982, allocations: 23.92 kB / 1.371 GB, free: 5.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2982, allocations: 0 / 1.371 GB, free: 5.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.326e-05/0.2982, allocations: 11.94 kB / 1.371 GB, free: 5.828 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.2982, allocations: 4 kB / 1.371 GB, free: 5.824 MB / 1.061 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.333e-05/0.2983, allocations: 118.5 kB / 1.371 GB, free: 5.699 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.2984, allocations: 11.89 kB / 1.371 GB, free: 5.688 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.2987, allocations: 118 kB / 1.371 GB, free: 5.566 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2987, allocations: 4 kB / 1.371 GB, free: 5.562 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2987, allocations: 0 / 1.371 GB, free: 5.562 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2987, allocations: 3.984 kB / 1.371 GB, free: 5.559 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.2989, allocations: 148.7 kB / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2989, allocations: 0 / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.299, allocations: 20.17 kB / 1.372 GB, free: 5.352 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.299, allocations: 7.938 kB / 1.372 GB, free: 5.344 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.299, allocations: 7.922 kB / 1.372 GB, free: 5.336 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.299, allocations: 0 / 1.372 GB, free: 5.336 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.299, allocations: 480 / 1.372 GB, free: 5.336 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.2993, allocations: 211.4 kB / 1.372 GB, free: 5.113 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.2993, allocations: 15.83 kB / 1.372 GB, free: 5.098 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.2993, allocations: 12 kB / 1.372 GB, free: 5.086 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.571e-05/0.2994, allocations: 7.984 kB / 1.372 GB, free: 5.078 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.2994, allocations: 0 / 1.372 GB, free: 5.078 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.2994, allocations: 7.984 kB / 1.372 GB, free: 5.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.666e-05/0.2995, allocations: 97.77 kB / 1.372 GB, free: 4.977 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.2995, allocations: 0 / 1.372 GB, free: 4.977 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002404/0.2997, allocations: 20 kB / 1.372 GB, free: 4.957 MB / 1.061 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.0006631/0.3004, allocations: 0.7553 MB / 1.373 GB, free: 4.176 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.3006, allocations: 75.83 kB / 1.373 GB, free: 4.102 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.3006, allocations: 0 / 1.373 GB, free: 4.102 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.817e-05/0.3007, allocations: 39.98 kB / 1.373 GB, free: 4.062 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.301, allocations: 12 kB / 1.373 GB, free: 4.051 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.3027, allocations: 1.524 MB / 1.374 GB, free: 2.438 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.821e-05/0.3028, allocations: 83.44 kB / 1.374 GB, free: 2.336 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.867e-05/0.3028, allocations: 16 kB / 1.374 GB, free: 2.32 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.3029, allocations: 23.44 kB / 1.374 GB, free: 2.297 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/0.3029, allocations: 0 / 1.374 GB, free: 2.297 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.3311, allocations: 2.848 MB / 1.377 GB, free: 15.59 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.67, allocations: 3.891 kB / 1.377 GB, free: 15.59 MB / 1.076 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.617689720820636]