Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001894/0.001894, allocations: 110 kB / 18.93 MB, free: 2.945 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.002354/0.002354, allocations: 193.4 kB / 22.23 MB, free: 5.156 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.451/1.451, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.232/3.232, allocations: 496 MB / 0.7835 GB, free: 33.45 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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_12_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_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 74.25 kB / 1.138 GB, free: 33.65 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4031, allocations: 173.6 MB / 1.307 GB, free: 1.734 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.003153/0.4062, allocations: 1.632 MB / 1.309 GB, free: 96 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.004328/0.4105, allocations: 3.295 MB / 1.312 GB, free: 12.78 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.693e-05/0.4106, allocations: 0 / 1.312 GB, free: 12.78 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.982e-05/0.4106, allocations: 7.922 kB / 1.312 GB, free: 12.77 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 7.378e-05/0.4107, allocations: 15.86 kB / 1.312 GB, free: 12.76 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.4112, allocations: 127.5 kB / 1.312 GB, free: 12.63 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001277/0.4114, allocations: 87.64 kB / 1.312 GB, free: 12.55 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.72e-05/0.4114, allocations: 8.188 kB / 1.312 GB, free: 12.54 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.4116, allocations: 39.84 kB / 1.312 GB, free: 12.5 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.867e-05/0.4117, allocations: 43.83 kB / 1.312 GB, free: 12.46 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.4117, allocations: 4 kB / 1.312 GB, free: 12.45 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002939/0.412, allocations: 103.8 kB / 1.313 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.336e-05/0.412, allocations: 15.97 kB / 1.313 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.412, allocations: 35.8 kB / 1.313 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.4123, allocations: 127.6 kB / 1.313 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4123, allocations: 0 / 1.313 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.352e-06/0.4123, allocations: 0 / 1.313 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.086e-05/0.4123, allocations: 0 / 1.313 GB, free: 12.18 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.0005772/0.4129, allocations: 310 kB / 1.313 GB, free: 11.84 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.4129, allocations: 12.92 kB / 1.313 GB, free: 11.83 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.413, allocations: 8.891 kB / 1.313 GB, free: 11.82 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.4131, allocations: 126.3 kB / 1.313 GB, free: 11.68 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.4131, allocations: 4.375 kB / 1.313 GB, free: 11.67 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.4131, allocations: 4.375 kB / 1.313 GB, free: 11.67 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.4133, allocations: 81.58 kB / 1.313 GB, free: 11.58 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.4133, allocations: 0 / 1.313 GB, free: 11.58 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.4134, allocations: 4 kB / 1.313 GB, free: 11.58 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.4134, allocations: 4 kB / 1.313 GB, free: 11.57 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.4136, allocations: 71.94 kB / 1.313 GB, free: 11.5 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005266/0.4141, allocations: 295.8 kB / 1.314 GB, free: 11.17 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.4143, allocations: 82.55 kB / 1.314 GB, free: 11.08 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.4144, allocations: 44.83 kB / 1.314 GB, free: 11.04 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006822/0.4151, allocations: 364.6 kB / 1.314 GB, free: 10.66 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.4151, allocations: 34.5 kB / 1.314 GB, free: 10.62 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.4151, allocations: 4 kB / 1.314 GB, free: 10.61 MB / 1.014 GB
Notification: Performance of matching and sorting (n=8): time 0.0004256/0.4156, allocations: 141.5 kB / 1.314 GB, free: 10.47 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.4156, allocations: 55.41 kB / 1.314 GB, free: 10.4 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.875e-05/0.4157, allocations: 113.8 kB / 1.314 GB, free: 10.28 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.4157, allocations: 29.7 kB / 1.314 GB, free: 10.25 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.4158, allocations: 92.08 kB / 1.315 GB, free: 10.15 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.4158, allocations: 27.75 kB / 1.315 GB, free: 10.12 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.4159, allocations: 25.7 kB / 1.315 GB, free: 10.09 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001401/0.416, allocations: 322.8 kB / 1.315 GB, free: 9.77 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.916e-05/0.4161, allocations: 27.98 kB / 1.315 GB, free: 9.742 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.971e-05/0.4162, allocations: 53.56 kB / 1.315 GB, free: 9.684 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.4164, allocations: 73.69 kB / 1.315 GB, free: 9.605 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4164, allocations: 4 kB / 1.315 GB, free: 9.602 MB / 1.014 GB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002365/0.4166, allocations: 109.6 kB / 1.315 GB, free: 9.488 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4166, allocations: 8.609 kB / 1.315 GB, free: 9.48 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4166, allocations: 0 / 1.315 GB, free: 9.48 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.4167, allocations: 7.922 kB / 1.315 GB, free: 9.473 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.4168, allocations: 19.98 kB / 1.315 GB, free: 9.453 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.4168, allocations: 0 / 1.315 GB, free: 9.453 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.262e-05/0.4169, allocations: 8 kB / 1.315 GB, free: 9.445 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.4169, allocations: 12.03 kB / 1.315 GB, free: 9.434 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 0.0001013/0.417, allocations: 121.8 kB / 1.315 GB, free: 9.305 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.417, allocations: 7.953 kB / 1.315 GB, free: 9.297 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.4173, allocations: 118 kB / 1.315 GB, free: 9.176 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.4173, allocations: 7.938 kB / 1.315 GB, free: 9.168 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.4173, allocations: 0 / 1.315 GB, free: 9.168 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4173, allocations: 0 / 1.315 GB, free: 9.168 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.4175, allocations: 168.6 kB / 1.316 GB, free: 8.961 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4175, allocations: 0 / 1.316 GB, free: 8.961 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.4176, allocations: 19.92 kB / 1.316 GB, free: 8.941 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.4176, allocations: 3.938 kB / 1.316 GB, free: 8.938 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.4176, allocations: 8 kB / 1.316 GB, free: 8.93 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4177, allocations: 3.938 kB / 1.316 GB, free: 8.926 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4177, allocations: 0 / 1.316 GB, free: 8.926 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.4179, allocations: 200 kB / 1.316 GB, free: 8.715 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.463e-05/0.418, allocations: 7.953 kB / 1.316 GB, free: 8.707 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.418, allocations: 192 / 1.316 GB, free: 8.707 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.4181, allocations: 15.92 kB / 1.316 GB, free: 8.691 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.4181, allocations: 7.922 kB / 1.316 GB, free: 8.684 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.4181, allocations: 4 kB / 1.316 GB, free: 8.68 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.469e-05/0.4182, allocations: 95.64 kB / 1.316 GB, free: 8.586 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.4182, allocations: 0 / 1.316 GB, free: 8.586 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.000265/0.4185, allocations: 27.94 kB / 1.316 GB, free: 8.559 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.0002263/0.4187, allocations: 116 kB / 1.316 GB, free: 8.438 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002545/0.4189, allocations: 68.03 kB / 1.316 GB, free: 8.371 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4189, allocations: 4 kB / 1.316 GB, free: 8.367 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 9.698e-05/0.419, allocations: 40.06 kB / 1.316 GB, free: 8.328 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.4193, allocations: 14.56 kB / 1.316 GB, free: 8.316 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000465/0.4198, allocations: 214.5 kB / 1.316 GB, free: 8.078 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.4201, allocations: 0.6923 MB / 1.317 GB, free: 7.359 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 5.839e-05/0.4202, allocations: 11.75 kB / 1.317 GB, free: 7.348 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.4202, allocations: 11.44 kB / 1.317 GB, free: 7.336 MB / 1.014 GB
Notification: Performance of SimCode: time 3.01e-07/0.4202, allocations: 0 / 1.317 GB, free: 7.336 MB / 1.014 GB
Notification: Performance of Templates: time 0.004256/0.4245, allocations: 1.07 MB / 1.318 GB, free: 6.273 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.225255243480206]