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.001446/0.001446, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.001569/0.001569, allocations: 215.1 kB / 23.03 MB, free: 4.422 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.335/1.335, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.969/2.969, allocations: 0.5003 GB / 0.8062 GB, free: 28.26 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.001813/0.001813, allocations: 65.47 kB / 1.171 GB, free: 19.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2892, allocations: 179 MB / 1.345 GB, free: 60 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002657/0.2918, allocations: 1.608 MB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003611/0.2954, allocations: 3.129 MB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.484e-05/0.2955, allocations: 4 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.154e-05/0.2955, allocations: 3.938 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.065e-05/0.2956, allocations: 15.86 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005051/0.2961, allocations: 143.4 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.2962, allocations: 79.72 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.62e-05/0.2963, allocations: 15.92 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.2964, allocations: 43.84 kB / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.077e-05/0.2965, allocations: 39.83 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.2965, allocations: 12 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002478/0.2968, allocations: 95.8 kB / 1.35 GB, free: 10.85 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.2968, allocations: 11.92 kB / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.937e-05/0.2968, allocations: 31.84 kB / 1.35 GB, free: 10.8 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.2971, allocations: 131.8 kB / 1.351 GB, free: 10.68 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2971, allocations: 0 / 1.351 GB, free: 10.68 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2971, allocations: 3.938 kB / 1.351 GB, free: 10.67 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2971, allocations: 0 / 1.351 GB, free: 10.67 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.0005345/0.2976, allocations: 318 kB / 1.351 GB, free: 10.33 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.2977, allocations: 8.031 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.395e-05/0.2977, allocations: 4.125 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.468e-05/0.2977, allocations: 38.75 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.2979, allocations: 28.86 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.2981, allocations: 140.1 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.2981, allocations: 3.984 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.2981, allocations: 4 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.2984, allocations: 81.66 kB / 1.351 GB, free: 9.992 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2984, allocations: 0 / 1.351 GB, free: 9.992 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2984, allocations: 0 / 1.351 GB, free: 9.992 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.2984, allocations: 4 kB / 1.351 GB, free: 9.988 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.2986, allocations: 75.88 kB / 1.351 GB, free: 9.914 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000432/0.299, allocations: 287.8 kB / 1.351 GB, free: 9.59 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.2992, allocations: 82.55 kB / 1.352 GB, free: 9.5 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.2993, allocations: 41.02 kB / 1.352 GB, free: 9.457 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005898/0.2999, allocations: 352.2 kB / 1.352 GB, free: 9.094 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.2999, allocations: 34.5 kB / 1.352 GB, free: 9.051 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.2999, allocations: 0 / 1.352 GB, free: 9.051 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.00037/0.3003, allocations: 141.6 kB / 1.352 GB, free: 8.906 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.3004, allocations: 51.41 kB / 1.352 GB, free: 8.844 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.184e-05/0.3004, allocations: 129.8 kB / 1.352 GB, free: 8.707 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.3005, allocations: 29.64 kB / 1.352 GB, free: 8.672 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.075e-05/0.3005, allocations: 96.08 kB / 1.352 GB, free: 8.574 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.3005, allocations: 23.8 kB / 1.352 GB, free: 8.551 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.3006, allocations: 25.7 kB / 1.352 GB, free: 8.52 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3007, allocations: 318.8 kB / 1.353 GB, free: 8.199 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.584e-05/0.3008, allocations: 35.91 kB / 1.353 GB, free: 8.164 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.059e-05/0.3009, allocations: 41.7 kB / 1.353 GB, free: 8.117 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.3011, allocations: 77.69 kB / 1.353 GB, free: 8.035 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3011, allocations: 0 / 1.353 GB, free: 8.035 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002332/0.3013, allocations: 117.5 kB / 1.353 GB, free: 7.914 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.3013, allocations: 8 kB / 1.353 GB, free: 7.906 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3013, allocations: 4 kB / 1.353 GB, free: 7.902 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.3013, allocations: 4.031 kB / 1.353 GB, free: 7.898 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.3015, allocations: 23.92 kB / 1.353 GB, free: 7.875 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.3015, allocations: 0 / 1.353 GB, free: 7.875 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.334e-05/0.3015, allocations: 15.98 kB / 1.353 GB, free: 7.859 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.3015, allocations: 7.938 kB / 1.353 GB, free: 7.852 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.79e-05/0.3016, allocations: 121.8 kB / 1.353 GB, free: 7.723 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.3017, allocations: 11.89 kB / 1.353 GB, free: 7.711 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002907/0.302, allocations: 122 kB / 1.353 GB, free: 7.582 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.302, allocations: 4 kB / 1.353 GB, free: 7.578 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.302, allocations: 0 / 1.353 GB, free: 7.578 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.302, allocations: 0 / 1.353 GB, free: 7.578 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.3022, allocations: 152.7 kB / 1.353 GB, free: 7.387 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3022, allocations: 0 / 1.353 GB, free: 7.387 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.3023, allocations: 23.92 kB / 1.353 GB, free: 7.363 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3023, allocations: 4 kB / 1.353 GB, free: 7.359 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.3023, allocations: 0 / 1.353 GB, free: 7.359 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3023, allocations: 0 / 1.353 GB, free: 7.359 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3023, allocations: 0 / 1.353 GB, free: 7.359 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.3026, allocations: 211.9 kB / 1.354 GB, free: 7.137 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.3026, allocations: 12.02 kB / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.3027, allocations: 8 kB / 1.354 GB, free: 7.117 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.383e-05/0.3027, allocations: 7.922 kB / 1.354 GB, free: 7.109 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.3028, allocations: 7.984 kB / 1.354 GB, free: 7.102 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.3028, allocations: 7.938 kB / 1.354 GB, free: 7.094 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.345e-05/0.3029, allocations: 98.52 kB / 1.354 GB, free: 7 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3029, allocations: 0 / 1.354 GB, free: 7 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002604/0.3031, allocations: 20 kB / 1.354 GB, free: 6.98 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.0006352/0.3038, allocations: 0.7553 MB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002123/0.304, allocations: 75.88 kB / 1.355 GB, free: 6.125 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.304, allocations: 0 / 1.355 GB, free: 6.125 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.889e-05/0.3041, allocations: 36.05 kB / 1.355 GB, free: 6.09 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.3043, allocations: 21.64 kB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.306, allocations: 1.529 MB / 1.356 GB, free: 4.457 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.412e-05/0.306, allocations: 86.94 kB / 1.356 GB, free: 4.352 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.848e-05/0.3061, allocations: 7.781 kB / 1.356 GB, free: 4.344 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.3062, allocations: 27.42 kB / 1.356 GB, free: 4.316 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.3062, allocations: 96 / 1.356 GB, free: 4.316 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/0.3273, allocations: 2.509 MB / 1.359 GB, free: 1.961 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.62, allocations: 14.94 kB / 1.359 GB, free: 1.949 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.782568437047303]