Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001483/0.001483, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001571/0.001571, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.704/2.704, allocations: 476.7 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_11_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.001988/0.001988, allocations: 66.45 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3023, allocations: 170 MB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003208/0.3056, allocations: 1.64 MB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004693/0.3102, allocations: 3.396 MB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.798e-05/0.3103, allocations: 0 / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.334e-05/0.3104, allocations: 11.88 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.975e-05/0.3105, allocations: 15.86 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005945/0.3111, allocations: 139.5 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.3112, allocations: 75.77 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.952e-05/0.3113, allocations: 19.91 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.3115, allocations: 47.84 kB / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.3116, allocations: 43.77 kB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3116, allocations: 8 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000345/0.312, allocations: 103.8 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.312, allocations: 19.92 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.565e-05/0.312, allocations: 35.78 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.3124, allocations: 135.7 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3124, allocations: 0 / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3124, allocations: 0 / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.3124, allocations: 4 kB / 1.289 GB, free: 5.93 MB / 0.9825 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.0006207/0.313, allocations: 321.9 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.313, allocations: 12.03 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.267e-05/0.3131, allocations: 30.75 kB / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.3133, allocations: 24.88 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.3136, allocations: 130.5 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3136, allocations: 4.375 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.3136, allocations: 8.312 kB / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.3138, allocations: 89.58 kB / 1.29 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3138, allocations: 3.938 kB / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3139, allocations: 3.938 kB / 1.29 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.3139, allocations: 4 kB / 1.29 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.3141, allocations: 75.92 kB / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.3146, allocations: 307.8 kB / 1.29 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.3148, allocations: 86.48 kB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.3149, allocations: 36.83 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006892/0.3156, allocations: 360.3 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.3157, allocations: 34.56 kB / 1.29 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.3157, allocations: 0 / 1.29 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004299/0.3161, allocations: 145.7 kB / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.3161, allocations: 51.41 kB / 1.291 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.3163, allocations: 122.3 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.3163, allocations: 29.7 kB / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.67e-05/0.3164, allocations: 96.02 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.3164, allocations: 27.8 kB / 1.291 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.3164, allocations: 21.72 kB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3166, allocations: 318.8 kB / 1.291 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.958e-05/0.3167, allocations: 31.98 kB / 1.291 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.3168, allocations: 45.69 kB / 1.291 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.317, allocations: 81.92 kB / 1.291 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.317, allocations: 112 / 1.291 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002633/0.3172, allocations: 125.5 kB / 1.291 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3172, allocations: 4 kB / 1.291 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3172, allocations: 0 / 1.291 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3173, allocations: 3.938 kB / 1.291 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.3174, allocations: 19.98 kB / 1.291 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3174, allocations: 0 / 1.291 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.928e-05/0.3175, allocations: 15.89 kB / 1.292 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3175, allocations: 4 kB / 1.292 GB, free: 3.086 MB / 0.9825 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.554e-05/0.3176, allocations: 122.7 kB / 1.292 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.3176, allocations: 4 kB / 1.292 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003171/0.3179, allocations: 130 kB / 1.292 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.318, allocations: 3.938 kB / 1.292 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.318, allocations: 0 / 1.292 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.318, allocations: 0 / 1.292 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.3182, allocations: 160.7 kB / 1.292 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3182, allocations: 4 kB / 1.292 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.3183, allocations: 23.98 kB / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.3183, allocations: 0 / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3183, allocations: 0 / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.3183, allocations: 3.938 kB / 1.292 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3183, allocations: 0 / 1.292 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.3186, allocations: 203.4 kB / 1.292 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.3186, allocations: 11.89 kB / 1.292 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.3186, allocations: 11.98 kB / 1.292 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3187, allocations: 7.938 kB / 1.292 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.3188, allocations: 7.984 kB / 1.292 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.3188, allocations: 0 / 1.292 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.979e-05/0.3189, allocations: 98.64 kB / 1.292 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3189, allocations: 0 / 1.292 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002666/0.3191, allocations: 20 kB / 1.292 GB, free: 2.211 MB / 0.9825 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.0007268/0.3199, allocations: 0.7591 MB / 1.293 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.3201, allocations: 71.95 kB / 1.293 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3201, allocations: 4.062 kB / 1.293 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.3202, allocations: 43.91 kB / 1.293 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.3205, allocations: 10.62 kB / 1.293 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.3223, allocations: 1.533 MB / 1.295 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.3227, allocations: 0.6885 MB / 1.295 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.588e-05/0.3227, allocations: 11.98 kB / 1.295 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.3228, allocations: 27.42 kB / 1.295 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.3228, allocations: 0 / 1.295 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0335/0.3563, allocations: 2.441 MB / 1.298 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.55, allocations: 7.109 kB / 1.298 GB, free: 12.62 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 17.96303159999661]