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.001535/0.001535, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001678/0.001678, allocations: 206.2 kB / 20.13 MB, free: 2.969 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 / 253.5 MB, free: 15.08 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.86/2.86, allocations: 0.5003 GB / 0.8026 GB, free: 6.723 MB / 0.6387 GB " [Timeout remaining time 176] 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.001904/0.001904, allocations: 72.19 kB / 1.165 GB, free: 448 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8616/0.8635, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002661/0.8661, allocations: 1.64 MB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003231/0.8694, allocations: 3.369 MB / 1.345 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.014e-05/0.8694, allocations: 1.5 kB / 1.345 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.651e-05/0.8695, allocations: 9.375 kB / 1.345 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.734e-05/0.8696, allocations: 11.72 kB / 1.345 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/0.8701, allocations: 143 kB / 1.345 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.8702, allocations: 83.36 kB / 1.345 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.09e-05/0.8703, allocations: 11.27 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.8704, allocations: 48.7 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.456e-05/0.8705, allocations: 40.86 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.8705, allocations: 6 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002772/0.8708, allocations: 111.9 kB / 1.346 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.8708, allocations: 18.05 kB / 1.346 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.86e-05/0.8709, allocations: 26.59 kB / 1.346 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.8711, allocations: 140.3 kB / 1.346 GB, free: 12.38 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.8711, allocations: 0 / 1.346 GB, free: 12.38 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8711, allocations: 1.375 kB / 1.346 GB, free: 12.38 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.8711, allocations: 0 / 1.346 GB, free: 12.38 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.0005325/0.8717, allocations: 397.6 kB / 1.346 GB, free: 11.99 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.8717, allocations: 9.625 kB / 1.346 GB, free: 11.99 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.299e-05/0.8717, allocations: 1.562 kB / 1.346 GB, free: 11.99 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.745e-05/0.8718, allocations: 37.39 kB / 1.346 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.872, allocations: 26.53 kB / 1.346 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.8722, allocations: 194.3 kB / 1.346 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.8722, allocations: 7.359 kB / 1.346 GB, free: 11.72 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.8722, allocations: 6.75 kB / 1.346 GB, free: 11.72 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.8724, allocations: 76.33 kB / 1.346 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.8724, allocations: 0 / 1.346 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.8725, allocations: 4 kB / 1.346 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.8725, allocations: 1.375 kB / 1.346 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.8727, allocations: 78.08 kB / 1.346 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.8731, allocations: 330.7 kB / 1.347 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.8733, allocations: 84.27 kB / 1.347 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.8734, allocations: 41.69 kB / 1.347 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006572/0.8741, allocations: 0.7638 MB / 1.348 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.8741, allocations: 36.67 kB / 1.348 GB, free: 10.44 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.984e-06/0.8741, allocations: 3.984 kB / 1.348 GB, free: 10.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0003887/0.8745, allocations: 132.5 kB / 1.348 GB, free: 10.37 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.8745, allocations: 57.58 kB / 1.348 GB, free: 10.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.017e-05/0.8746, allocations: 125.6 kB / 1.348 GB, free: 10.2 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.8746, allocations: 25.7 kB / 1.348 GB, free: 10.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.8746, allocations: 92.89 kB / 1.348 GB, free: 10.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.8746, allocations: 30.36 kB / 1.348 GB, free: 10.05 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.8747, allocations: 21.42 kB / 1.348 GB, free: 10.03 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.684e-05/0.8747, allocations: 318.5 kB / 1.348 GB, free: 9.715 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.563e-05/0.8748, allocations: 33.69 kB / 1.349 GB, free: 9.703 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.932e-05/0.8749, allocations: 47.16 kB / 1.349 GB, free: 9.676 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.8751, allocations: 81.69 kB / 1.349 GB, free: 9.633 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.8751, allocations: 0.75 kB / 1.349 GB, free: 9.633 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002267/0.8753, allocations: 121.4 kB / 1.349 GB, free: 9.566 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.8753, allocations: 4.359 kB / 1.349 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.8753, allocations: 5.281 kB / 1.349 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.8753, allocations: 1.875 kB / 1.349 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.8755, allocations: 22.27 kB / 1.349 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.8755, allocations: 1.406 kB / 1.349 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.052e-05/0.8755, allocations: 9.344 kB / 1.349 GB, free: 9.555 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.8756, allocations: 7.016 kB / 1.349 GB, free: 9.551 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 5.264e-05/0.8756, allocations: 118 kB / 1.349 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.8756, allocations: 16.89 kB / 1.349 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.8759, allocations: 121.9 kB / 1.349 GB, free: 9.348 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.8759, allocations: 1.312 kB / 1.349 GB, free: 9.348 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.8759, allocations: 0 / 1.349 GB, free: 9.348 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.8759, allocations: 2.438 kB / 1.349 GB, free: 9.348 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.8761, allocations: 191.3 kB / 1.349 GB, free: 9.141 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.8761, allocations: 0 / 1.349 GB, free: 9.141 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.8762, allocations: 28.33 kB / 1.349 GB, free: 9.129 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.8762, allocations: 1.609 kB / 1.349 GB, free: 9.129 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.8762, allocations: 1.859 kB / 1.349 GB, free: 9.129 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.8762, allocations: 0.5938 kB / 1.349 GB, free: 9.129 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8762, allocations: 4.453 kB / 1.349 GB, free: 9.125 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.8764, allocations: 197.8 kB / 1.349 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.254e-05/0.8765, allocations: 88 kB / 1.35 GB, free: 8.871 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.8765, allocations: 9.938 kB / 1.35 GB, free: 8.863 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.305e-05/0.8766, allocations: 4.141 kB / 1.35 GB, free: 8.863 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.8766, allocations: 6.297 kB / 1.35 GB, free: 8.863 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.8766, allocations: 1.828 kB / 1.35 GB, free: 8.863 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.076e-05/0.8767, allocations: 100.2 kB / 1.35 GB, free: 8.781 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.8767, allocations: 1.375 kB / 1.35 GB, free: 8.781 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002575/0.8769, allocations: 21.42 kB / 1.35 GB, free: 8.777 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.0004978/0.8774, allocations: 0.7627 MB / 1.35 GB, free: 8.078 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.8777, allocations: 78.42 kB / 1.35 GB, free: 8.055 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8777, allocations: 5.125 kB / 1.35 GB, free: 8.051 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.765e-05/0.8778, allocations: 35.72 kB / 1.351 GB, free: 8.043 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.878, allocations: 8.312 kB / 1.351 GB, free: 8.039 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.8793, allocations: 1.535 MB / 1.352 GB, free: 6.711 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.8795, allocations: 0.6932 MB / 1.353 GB, free: 6.012 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.278e-05/0.8795, allocations: 8.984 kB / 1.353 GB, free: 6.008 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.8796, allocations: 30.27 kB / 1.353 GB, free: 5.984 MB / 1.061 GB Notification: Performance of SimCode: time 3.7e-07/0.8796, allocations: 0 / 1.353 GB, free: 5.984 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.8978, allocations: 2.376 MB / 1.355 GB, free: 5.531 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.768/8.666, allocations: 2.438 kB / 1.355 GB, free: 5.531 MB / 1.061 GB " [Timeout remaining time 291] (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: 14.792362112028059]