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.001533/0.001533, allocations: 113.5 kB / 17.08 MB, free: 5.988 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.001629/0.001629, allocations: 193.2 kB / 20.03 MB, free: 3.059 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.443/1.443, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.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 2.898/2.898, allocations: 489.2 MB / 0.7687 GB, free: 3.816 MB / 0.6075 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rayleighNumber.Ra|rayleighNumber.Gr|rayleighNumber.Pr",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 71.89 kB / 1.103 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.06, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002825/1.063, allocations: 1.614 MB / 1.264 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003667/1.066, allocations: 3.252 MB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/1.066, allocations: 0.7188 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.511e-05/1.066, allocations: 9.656 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.494e-05/1.067, allocations: 19.48 kB / 1.267 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005299/1.067, allocations: 112.6 kB / 1.268 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001319/1.067, allocations: 73.86 kB / 1.268 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/1.067, allocations: 24.55 kB / 1.268 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/1.067, allocations: 44.44 kB / 1.268 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/1.068, allocations: 41.36 kB / 1.268 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/1.068, allocations: 5.125 kB / 1.268 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003377/1.068, allocations: 99.41 kB / 1.268 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/1.068, allocations: 13.22 kB / 1.268 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.07e-05/1.068, allocations: 32.19 kB / 1.268 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003071/1.068, allocations: 128.4 kB / 1.268 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.068, allocations: 1.875 kB / 1.268 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.944e-06/1.068, allocations: 0 / 1.268 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.562e-06/1.068, allocations: 4 kB / 1.268 GB, free: 4.258 MB / 0.9981 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.0005564/1.069, allocations: 386.8 kB / 1.268 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.069, allocations: 9.281 kB / 1.268 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/1.069, allocations: 9.562 kB / 1.268 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/1.069, allocations: 177.3 kB / 1.269 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/1.069, allocations: 1.812 kB / 1.269 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/1.069, allocations: 4.25 kB / 1.269 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/1.069, allocations: 95.27 kB / 1.269 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/1.069, allocations: 0.9375 kB / 1.269 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/1.07, allocations: 0 / 1.269 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/1.07, allocations: 1.812 kB / 1.269 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/1.07, allocations: 73.03 kB / 1.269 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/1.07, allocations: 326.6 kB / 1.269 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/1.07, allocations: 99.84 kB / 1.269 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/1.071, allocations: 43.55 kB / 1.269 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007035/1.071, allocations: 0.7561 MB / 1.27 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/1.071, allocations: 31.97 kB / 1.27 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/1.071, allocations: 0 / 1.27 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0004296/1.072, allocations: 137.3 kB / 1.27 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/1.072, allocations: 53.97 kB / 1.27 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.144e-05/1.072, allocations: 125.6 kB / 1.27 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/1.072, allocations: 25.7 kB / 1.27 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/1.072, allocations: 97.47 kB / 1.27 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/1.072, allocations: 25.55 kB / 1.27 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/1.072, allocations: 25.38 kB / 1.27 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.936e-05/1.072, allocations: 315.4 kB / 1.271 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/1.072, allocations: 28.77 kB / 1.271 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/1.072, allocations: 50.69 kB / 1.271 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/1.073, allocations: 82.34 kB / 1.271 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.073, allocations: 0.8438 kB / 1.271 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002532/1.073, allocations: 107.4 kB / 1.271 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.073, allocations: 6.234 kB / 1.271 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.073, allocations: 4.938 kB / 1.271 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/1.073, allocations: 4.875 kB / 1.271 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/1.073, allocations: 23.16 kB / 1.271 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/1.073, allocations: 4.594 kB / 1.271 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.285e-05/1.073, allocations: 10.5 kB / 1.271 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/1.073, allocations: 2.984 kB / 1.271 GB, free: 1.496 MB / 0.9981 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 6.598e-05/1.073, allocations: 113.1 kB / 1.271 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/1.073, allocations: 8.141 kB / 1.271 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/1.074, allocations: 130.2 kB / 1.271 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.074, allocations: 5.359 kB / 1.271 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.074, allocations: 0.75 kB / 1.271 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/1.074, allocations: 5.625 kB / 1.271 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/1.074, allocations: 193.9 kB / 1.271 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.074, allocations: 0.6562 kB / 1.271 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/1.074, allocations: 17.17 kB / 1.271 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/1.074, allocations: 4.844 kB / 1.271 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/1.074, allocations: 1.516 kB / 1.271 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/1.074, allocations: 5.25 kB / 1.271 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.074, allocations: 0 / 1.271 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/1.074, allocations: 206 kB / 1.272 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/1.074, allocations: 79.08 kB / 1.272 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/1.074, allocations: 6.219 kB / 1.272 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.555e-05/1.074, allocations: 12.61 kB / 1.272 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/1.074, allocations: 6.562 kB / 1.272 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/1.074, allocations: 1.719 kB / 1.272 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.18e-05/1.074, allocations: 92.72 kB / 1.272 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.074, allocations: 0 / 1.272 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002676/1.075, allocations: 25.8 kB / 1.272 GB, free: 0.7188 MB / 0.9981 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.0002022/1.075, allocations: 122.2 kB / 1.272 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002737/1.075, allocations: 88.7 kB / 1.272 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.075, allocations: 0 / 1.272 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/1.075, allocations: 37.97 kB / 1.272 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/1.076, allocations: 7.672 kB / 1.272 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/1.076, allocations: 240.8 kB / 1.272 GB, free: 396 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/1.076, allocations: 0.6881 MB / 1.273 GB, free: 15.69 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/1.076, allocations: 14.17 kB / 1.273 GB, free: 15.69 MB / 1.014 GB Notification: Performance of SimCode: time 2.5e-07/1.076, allocations: 0 / 1.273 GB, free: 15.69 MB / 1.014 GB Notification: Performance of Templates: time 0.003356/1.08, allocations: 1.262 MB / 1.274 GB, free: 15.56 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 800] 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: 11.24656642996706]