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.00114/0.00114, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001205/0.001205, allocations: 212.6 kB / 23.04 MB, free: 5.082 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.282/1.282, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.836/2.836, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="cs",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.001794/0.001794, allocations: 67.83 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2823, allocations: 179 MB / 1.345 GB, free: 444 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002835/0.2851, allocations: 1.635 MB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004234/0.2893, allocations: 3.398 MB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.15e-05/0.2894, allocations: 7.938 kB / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.592e-05/0.2895, allocations: 7.922 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.5e-05/0.2895, allocations: 11.86 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005502/0.2901, allocations: 139.5 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.2902, allocations: 87.7 kB / 1.351 GB, free: 11.12 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.963e-05/0.2903, allocations: 4.281 kB / 1.351 GB, free: 11.12 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.2904, allocations: 55.77 kB / 1.351 GB, free: 11.07 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.718e-05/0.2905, allocations: 35.84 kB / 1.351 GB, free: 11.03 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.2906, allocations: 8 kB / 1.351 GB, free: 11.02 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.2909, allocations: 119.8 kB / 1.351 GB, free: 10.91 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.2909, allocations: 11.92 kB / 1.351 GB, free: 10.89 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.132e-05/0.2909, allocations: 31.86 kB / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.2912, allocations: 135.5 kB / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2912, allocations: 0 / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of FrontEnd: time 7.91e-07/0.2912, allocations: 0 / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.2912, allocations: 3.984 kB / 1.351 GB, free: 10.73 MB / 1.045 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.0005474/0.2917, allocations: 313.9 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2918, allocations: 12.03 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.232e-05/0.2918, allocations: 192 / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.531e-05/0.2918, allocations: 42.75 kB / 1.351 GB, free: 10.33 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.292, allocations: 24.86 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.2923, allocations: 138.1 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-06/0.2923, allocations: 8 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.2923, allocations: 4 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.2925, allocations: 77.64 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.2925, allocations: 0 / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.2925, allocations: 4 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2925, allocations: 4 kB / 1.352 GB, free: 10.04 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.2927, allocations: 83.86 kB / 1.352 GB, free: 9.961 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.2932, allocations: 295.8 kB / 1.352 GB, free: 9.629 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.2934, allocations: 78.55 kB / 1.352 GB, free: 9.543 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.2935, allocations: 48.83 kB / 1.352 GB, free: 9.492 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000619/0.2941, allocations: 356.5 kB / 1.352 GB, free: 9.125 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.2941, allocations: 46.44 kB / 1.352 GB, free: 9.07 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.2941, allocations: 0 / 1.352 GB, free: 9.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.00038/0.2945, allocations: 129.6 kB / 1.352 GB, free: 8.938 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.2946, allocations: 55.41 kB / 1.353 GB, free: 8.871 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.2947, allocations: 132.7 kB / 1.353 GB, free: 8.734 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.2947, allocations: 25.7 kB / 1.353 GB, free: 8.703 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.2948, allocations: 96.08 kB / 1.353 GB, free: 8.605 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.2948, allocations: 39.72 kB / 1.353 GB, free: 8.566 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.2948, allocations: 17.72 kB / 1.353 GB, free: 8.543 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.295, allocations: 322.8 kB / 1.353 GB, free: 8.219 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.116e-05/0.2951, allocations: 27.98 kB / 1.353 GB, free: 8.191 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.526e-05/0.2951, allocations: 45.62 kB / 1.353 GB, free: 8.141 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.2953, allocations: 77.69 kB / 1.353 GB, free: 8.059 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2953, allocations: 4 kB / 1.353 GB, free: 8.055 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002468/0.2956, allocations: 117.5 kB / 1.353 GB, free: 7.934 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.2956, allocations: 9.25 kB / 1.353 GB, free: 7.926 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2956, allocations: 112 / 1.353 GB, free: 7.926 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2956, allocations: 3.938 kB / 1.353 GB, free: 7.922 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.2958, allocations: 19.98 kB / 1.353 GB, free: 7.902 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2958, allocations: 4.422 kB / 1.353 GB, free: 7.898 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.09e-05/0.2958, allocations: 11.94 kB / 1.353 GB, free: 7.887 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.2958, allocations: 8 kB / 1.353 GB, free: 7.879 MB / 1.045 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 8.592e-05/0.2959, allocations: 114.4 kB / 1.354 GB, free: 7.758 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.296, allocations: 11.89 kB / 1.354 GB, free: 7.746 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.2963, allocations: 122 kB / 1.354 GB, free: 7.617 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2963, allocations: 0 / 1.354 GB, free: 7.617 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.2963, allocations: 7.984 kB / 1.354 GB, free: 7.609 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2963, allocations: 0 / 1.354 GB, free: 7.609 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.2965, allocations: 160.7 kB / 1.354 GB, free: 7.41 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2965, allocations: 0 / 1.354 GB, free: 7.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.2966, allocations: 24.05 kB / 1.354 GB, free: 7.387 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.2966, allocations: 0 / 1.354 GB, free: 7.387 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.2966, allocations: 7.938 kB / 1.354 GB, free: 7.379 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2966, allocations: 0 / 1.354 GB, free: 7.379 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2966, allocations: 0 / 1.354 GB, free: 7.379 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.2969, allocations: 211.5 kB / 1.354 GB, free: 7.156 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.796e-05/0.2969, allocations: 15.83 kB / 1.354 GB, free: 7.141 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.2969, allocations: 0 / 1.354 GB, free: 7.141 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.002e-05/0.297, allocations: 4 kB / 1.354 GB, free: 7.137 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.297, allocations: 11.98 kB / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.297, allocations: 0 / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.73e-05/0.2971, allocations: 99.27 kB / 1.354 GB, free: 7.027 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.2971, allocations: 0 / 1.354 GB, free: 7.027 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002457/0.2974, allocations: 23.98 kB / 1.354 GB, free: 7.004 MB / 1.045 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.0006621/0.298, allocations: 0.7591 MB / 1.355 GB, free: 6.219 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.2982, allocations: 67.91 kB / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2982, allocations: 3.938 kB / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.511e-05/0.2983, allocations: 39.97 kB / 1.355 GB, free: 6.109 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.2986, allocations: 4 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.3004, allocations: 1.536 MB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.3007, allocations: 0.6885 MB / 1.357 GB, free: 3.77 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.91e-05/0.3008, allocations: 24.33 kB / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.3008, allocations: 19.44 kB / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.3008, allocations: 0 / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.3229, allocations: 2.492 MB / 1.36 GB, free: 1.387 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/10.52, allocations: 4.172 kB / 1.36 GB, free: 1.387 MB / 1.045 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.369011877977755]