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.00178/0.00178, allocations: 108.8 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.001996/0.001996, allocations: 191.5 kB / 22.23 MB, free: 5.16 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.466/1.466, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.179/3.179, allocations: 0.4893 GB / 0.7884 GB, free: 32.97 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-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.001991/0.001991, allocations: 61.72 kB / 1.145 GB, free: 30.75 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3125, allocations: 174.9 MB / 1.316 GB, free: 9.656 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.00288/0.3153, allocations: 1.607 MB / 1.318 GB, free: 8.039 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.004082/0.3194, allocations: 3.315 MB / 1.321 GB, free: 4.703 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/0.3195, allocations: 0 / 1.321 GB, free: 4.703 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.3195, allocations: 7.875 kB / 1.321 GB, free: 4.695 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 7.213e-05/0.3196, allocations: 15.86 kB / 1.321 GB, free: 4.68 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.3201, allocations: 127.5 kB / 1.321 GB, free: 4.555 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001376/0.3202, allocations: 75.72 kB / 1.321 GB, free: 4.48 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.934e-05/0.3203, allocations: 16.16 kB / 1.321 GB, free: 4.465 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.3204, allocations: 31.92 kB / 1.321 GB, free: 4.434 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.3205, allocations: 43.77 kB / 1.321 GB, free: 4.391 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.3206, allocations: 4 kB / 1.321 GB, free: 4.387 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003391/0.3209, allocations: 115.8 kB / 1.321 GB, free: 4.273 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.603e-05/0.3209, allocations: 11.92 kB / 1.321 GB, free: 4.262 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.321, allocations: 31.86 kB / 1.321 GB, free: 4.23 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.3212, allocations: 119.5 kB / 1.321 GB, free: 4.113 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3213, allocations: 4 kB / 1.321 GB, free: 4.109 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.613e-06/0.3213, allocations: 0 / 1.321 GB, free: 4.109 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.202e-06/0.3213, allocations: 0 / 1.321 GB, free: 4.109 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.0006108/0.3219, allocations: 317.9 kB / 1.322 GB, free: 3.77 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3219, allocations: 16.03 kB / 1.322 GB, free: 3.754 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.322, allocations: 8.891 kB / 1.322 GB, free: 3.746 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.3221, allocations: 122.4 kB / 1.322 GB, free: 3.602 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3221, allocations: 384 / 1.322 GB, free: 3.602 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.3221, allocations: 8.375 kB / 1.322 GB, free: 3.594 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.3223, allocations: 89.45 kB / 1.322 GB, free: 3.5 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3223, allocations: 0 / 1.322 GB, free: 3.5 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3224, allocations: 0 / 1.322 GB, free: 3.5 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.3224, allocations: 4 kB / 1.322 GB, free: 3.496 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.3226, allocations: 79.94 kB / 1.322 GB, free: 3.418 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.3231, allocations: 295.8 kB / 1.322 GB, free: 3.086 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.3234, allocations: 90.42 kB / 1.322 GB, free: 2.988 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.3235, allocations: 36.84 kB / 1.322 GB, free: 2.949 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006729/0.3242, allocations: 364.2 kB / 1.323 GB, free: 2.574 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.3242, allocations: 34.55 kB / 1.323 GB, free: 2.531 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.3242, allocations: 4 kB / 1.323 GB, free: 2.527 MB / 1.014 GB
Notification: Performance of matching and sorting (n=8): time 0.0004202/0.3246, allocations: 141.8 kB / 1.323 GB, free: 2.383 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.3246, allocations: 55.41 kB / 1.323 GB, free: 2.316 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.3247, allocations: 109.8 kB / 1.323 GB, free: 2.199 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.3248, allocations: 33.7 kB / 1.323 GB, free: 2.16 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.3248, allocations: 92.08 kB / 1.323 GB, free: 2.066 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.3249, allocations: 27.75 kB / 1.323 GB, free: 2.039 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.3249, allocations: 29.7 kB / 1.323 GB, free: 2.004 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001517/0.3251, allocations: 314.8 kB / 1.324 GB, free: 1.688 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.652e-05/0.3252, allocations: 31.97 kB / 1.324 GB, free: 1.656 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.3253, allocations: 41.7 kB / 1.324 GB, free: 1.609 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.3255, allocations: 85.92 kB / 1.324 GB, free: 1.52 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3255, allocations: 0 / 1.324 GB, free: 1.52 MB / 1.014 GB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002674/0.3257, allocations: 113.6 kB / 1.324 GB, free: 1.402 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3257, allocations: 4 kB / 1.324 GB, free: 1.398 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3257, allocations: 0 / 1.324 GB, free: 1.398 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3258, allocations: 7.875 kB / 1.324 GB, free: 1.391 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.3259, allocations: 19.98 kB / 1.324 GB, free: 1.371 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3259, allocations: 0 / 1.324 GB, free: 1.371 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.082e-05/0.326, allocations: 12.02 kB / 1.324 GB, free: 1.359 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.326, allocations: 8.109 kB / 1.324 GB, free: 1.352 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.0001008/0.3261, allocations: 118.7 kB / 1.324 GB, free: 1.227 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.3261, allocations: 7.953 kB / 1.324 GB, free: 1.219 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.3265, allocations: 122.1 kB / 1.324 GB, free: 1.094 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3265, allocations: 7.938 kB / 1.324 GB, free: 1.086 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3265, allocations: 4 kB / 1.324 GB, free: 1.082 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3265, allocations: 0 / 1.324 GB, free: 1.082 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.3267, allocations: 168.6 kB / 1.324 GB, free: 0.875 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3267, allocations: 0 / 1.324 GB, free: 0.875 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.3268, allocations: 15.98 kB / 1.324 GB, free: 0.8594 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3268, allocations: 0 / 1.324 GB, free: 0.8594 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.3268, allocations: 7.984 kB / 1.324 GB, free: 0.8516 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3268, allocations: 3.938 kB / 1.324 GB, free: 0.8477 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3268, allocations: 0 / 1.324 GB, free: 0.8477 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.3271, allocations: 203.5 kB / 1.325 GB, free: 0.6328 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.3271, allocations: 7.953 kB / 1.325 GB, free: 0.625 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.3271, allocations: 0 / 1.325 GB, free: 0.625 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.3273, allocations: 11.94 kB / 1.325 GB, free: 0.6133 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.3273, allocations: 15.97 kB / 1.325 GB, free: 0.5977 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.3273, allocations: 3.984 kB / 1.325 GB, free: 0.5938 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.497e-05/0.3274, allocations: 87.28 kB / 1.325 GB, free: 0.5078 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.3274, allocations: 0 / 1.325 GB, free: 0.5078 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002633/0.3277, allocations: 31.92 kB / 1.325 GB, free: 488 kB / 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.0001917/0.3278, allocations: 111.8 kB / 1.325 GB, free: 368 kB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.000267/0.3281, allocations: 71.89 kB / 1.325 GB, free: 296 kB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3281, allocations: 4 kB / 1.325 GB, free: 292 kB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.3282, allocations: 40.03 kB / 1.325 GB, free: 252 kB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.3285, allocations: 7.938 kB / 1.325 GB, free: 244 kB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004622/0.329, allocations: 214.9 kB / 1.325 GB, free: 16 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.3293, allocations: 0.6883 MB / 1.326 GB, free: 15.28 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 6.168e-05/0.3294, allocations: 19.91 kB / 1.326 GB, free: 15.27 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.3294, allocations: 15.44 kB / 1.326 GB, free: 15.25 MB / 1.029 GB
Notification: Performance of SimCode: time 3.3e-07/0.3294, allocations: 0 / 1.326 GB, free: 15.25 MB / 1.029 GB
Notification: Performance of Templates: time 0.004041/0.3334, allocations: 1.069 MB / 1.327 GB, free: 14.19 MB / 1.029 GB
"
[Timeout remaining time 300]
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/jenkins/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: 8.72814470063895]