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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 106.1 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 196.6 kB / 19.41 MB, free: 3.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 247.8 MB, free: 13.97 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.098/3.098, allocations: 497.2 MB / 0.7811 GB, free: 33.72 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00199/0.00199, allocations: 68.2 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3634, allocations: 173.9 MB / 1.304 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002902/0.3663, allocations: 1.607 MB / 1.306 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003917/0.3703, allocations: 3.276 MB / 1.309 GB, free: 12.65 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.183e-05/0.3703, allocations: 0 / 1.309 GB, free: 12.65 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.966e-05/0.3703, allocations: 7.922 kB / 1.309 GB, free: 12.64 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.727e-05/0.3704, allocations: 11.88 kB / 1.309 GB, free: 12.63 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004919/0.3709, allocations: 127.5 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.371, allocations: 83.66 kB / 1.309 GB, free: 12.42 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.459e-05/0.3711, allocations: 8.172 kB / 1.309 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.3712, allocations: 39.84 kB / 1.309 GB, free: 12.38 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.3713, allocations: 39.83 kB / 1.309 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.3713, allocations: 4 kB / 1.309 GB, free: 12.33 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.3716, allocations: 111.8 kB / 1.309 GB, free: 12.22 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.3716, allocations: 11.98 kB / 1.309 GB, free: 12.21 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.928e-05/0.3717, allocations: 35.81 kB / 1.309 GB, free: 12.18 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.3719, allocations: 119.9 kB / 1.309 GB, free: 12.06 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3719, allocations: 0 / 1.309 GB, free: 12.06 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3719, allocations: 0 / 1.309 GB, free: 12.06 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.372, allocations: 0 / 1.309 GB, free: 12.06 MB / 1.014 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.0006367/0.3726, allocations: 395 kB / 1.31 GB, free: 11.62 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.3726, allocations: 16.91 kB / 1.31 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.3727, allocations: 38.75 kB / 1.31 GB, free: 11.56 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.3727, allocations: 4.938 kB / 1.31 GB, free: 11.56 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.3729, allocations: 180.2 kB / 1.31 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3729, allocations: 384 / 1.31 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.3729, allocations: 8.125 kB / 1.31 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.3731, allocations: 81.64 kB / 1.31 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3731, allocations: 0 / 1.31 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3731, allocations: 0 / 1.31 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3731, allocations: 0 / 1.31 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.3733, allocations: 79.94 kB / 1.31 GB, free: 11.17 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.3739, allocations: 328.7 kB / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.3741, allocations: 78.55 kB / 1.31 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.3742, allocations: 44.83 kB / 1.311 GB, free: 10.67 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008936/0.3751, allocations: 0.7569 MB / 1.311 GB, free: 9.793 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.3751, allocations: 42.44 kB / 1.311 GB, free: 9.742 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.3751, allocations: 4 kB / 1.311 GB, free: 9.738 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.0003989/0.3755, allocations: 137.6 kB / 1.311 GB, free: 9.598 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.3756, allocations: 51.41 kB / 1.311 GB, free: 9.535 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.3757, allocations: 121.8 kB / 1.312 GB, free: 9.406 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3757, allocations: 29.7 kB / 1.312 GB, free: 9.371 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.3758, allocations: 88.09 kB / 1.312 GB, free: 9.281 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.3758, allocations: 31.73 kB / 1.312 GB, free: 9.25 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.3759, allocations: 25.72 kB / 1.312 GB, free: 9.219 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.376, allocations: 318.8 kB / 1.312 GB, free: 8.898 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.731e-05/0.3761, allocations: 31.92 kB / 1.312 GB, free: 8.867 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.3762, allocations: 49.62 kB / 1.312 GB, free: 8.812 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.3764, allocations: 81.67 kB / 1.312 GB, free: 8.727 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3764, allocations: 0 / 1.312 GB, free: 8.727 MB / 1.014 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002358/0.3766, allocations: 113.5 kB / 1.312 GB, free: 8.609 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3766, allocations: 5.406 kB / 1.312 GB, free: 8.605 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.3766, allocations: 0 / 1.312 GB, free: 8.605 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.3766, allocations: 7.922 kB / 1.312 GB, free: 8.598 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.3768, allocations: 23.98 kB / 1.312 GB, free: 8.574 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.3768, allocations: 0 / 1.312 GB, free: 8.574 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.358e-05/0.3769, allocations: 16.02 kB / 1.312 GB, free: 8.559 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.3769, allocations: 4 kB / 1.312 GB, free: 8.555 MB / 1.014 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.455e-05/0.377, allocations: 121.8 kB / 1.313 GB, free: 8.426 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.377, allocations: 7.953 kB / 1.313 GB, free: 8.418 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002907/0.3773, allocations: 114 kB / 1.313 GB, free: 8.301 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3773, allocations: 4 kB / 1.313 GB, free: 8.297 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3773, allocations: 7.984 kB / 1.313 GB, free: 8.289 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.3773, allocations: 0 / 1.313 GB, free: 8.289 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.3775, allocations: 197.5 kB / 1.313 GB, free: 8.047 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3775, allocations: 0 / 1.313 GB, free: 8.047 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.3776, allocations: 15.98 kB / 1.313 GB, free: 8.031 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3776, allocations: 7.875 kB / 1.313 GB, free: 8.023 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.3777, allocations: 7.938 kB / 1.313 GB, free: 8.016 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3777, allocations: 0 / 1.313 GB, free: 8.016 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3777, allocations: 0 / 1.313 GB, free: 8.016 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.3779, allocations: 207.5 kB / 1.313 GB, free: 7.797 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.378, allocations: 85.25 kB / 1.313 GB, free: 7.695 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.378, allocations: 3.938 kB / 1.313 GB, free: 7.691 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.41e-05/0.3781, allocations: 7.938 kB / 1.313 GB, free: 7.684 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.3782, allocations: 7.984 kB / 1.313 GB, free: 7.676 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.3782, allocations: 4 kB / 1.313 GB, free: 7.672 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.26e-05/0.3782, allocations: 91.27 kB / 1.313 GB, free: 7.582 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.3782, allocations: 4 kB / 1.313 GB, free: 7.578 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002635/0.3785, allocations: 27.94 kB / 1.313 GB, free: 7.551 MB / 1.014 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.000719/0.3792, allocations: 0.7442 MB / 1.314 GB, free: 6.781 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002564/0.3795, allocations: 83.89 kB / 1.314 GB, free: 6.699 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3795, allocations: 0 / 1.314 GB, free: 6.699 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.3796, allocations: 35.97 kB / 1.314 GB, free: 6.664 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.3799, allocations: 8 kB / 1.314 GB, free: 6.656 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006258/0.3805, allocations: 267.2 kB / 1.314 GB, free: 6.352 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.3808, allocations: 0.6885 MB / 1.315 GB, free: 5.637 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.782e-05/0.3809, allocations: 8 kB / 1.315 GB, free: 5.629 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.252e-05/0.381, allocations: 23.42 kB / 1.315 GB, free: 5.605 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/0.381, allocations: 0 / 1.315 GB, free: 5.605 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.4056, allocations: 2.263 MB / 1.317 GB, free: 3.492 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.306, allocations: 19.98 kB / 1.317 GB, free: 3.477 MB / 1.014 GB " [Timeout remaining time 292] (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_2/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: 14.880348355975002]