Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.001651/0.001651, allocations: 110.2 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.001662/0.001662, allocations: 192 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.442/1.442, 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-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.256/3.256, allocations: 496 MB / 0.7835 GB, free: 33.64 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.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection")
translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 66.86 kB / 1.138 GB, free: 33.83 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3312, allocations: 173.6 MB / 1.307 GB, free: 1.797 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003121/0.3343, allocations: 1.617 MB / 1.309 GB, free: 172 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001674/0.336, allocations: 0.9307 MB / 1.31 GB, free: 15.23 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.81e-05/0.336, allocations: 4 kB / 1.31 GB, free: 15.23 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002476/0.3363, allocations: 59.66 kB / 1.31 GB, free: 15.17 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.000447/0.3367, allocations: 147.3 kB / 1.31 GB, free: 15.02 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 3.373e-05/0.3368, allocations: 7.938 kB / 1.31 GB, free: 15.02 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0004817/0.3372, allocations: 374.3 kB / 1.31 GB, free: 14.65 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.147e-05/0.3373, allocations: 12.94 kB / 1.31 GB, free: 14.63 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.3376, allocations: 147.4 kB / 1.31 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.3378, allocations: 139.3 kB / 1.311 GB, free: 14.35 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.3378, allocations: 12 kB / 1.311 GB, free: 14.34 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 4.004e-05/0.3379, allocations: 16 kB / 1.311 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 9.054e-05/0.3379, allocations: 51.7 kB / 1.311 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.3381, allocations: 127.3 kB / 1.311 GB, free: 14.15 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.3385, allocations: 298.7 kB / 1.311 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3385, allocations: 0 / 1.311 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.343e-06/0.3385, allocations: 0 / 1.311 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.24e-05/0.3385, allocations: 0 / 1.311 GB, free: 13.86 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: 4
 * Number of variables: 4
Notification: Performance of Generate backend data structure: time 0.001217/0.3397, allocations: 0.5588 MB / 1.312 GB, free: 13.27 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3398, allocations: 12.92 kB / 1.312 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.3398, allocations: 32.7 kB / 1.312 GB, free: 13.22 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.3404, allocations: 340.7 kB / 1.312 GB, free: 12.86 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.3404, allocations: 384 / 1.312 GB, free: 12.86 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.3404, allocations: 384 / 1.312 GB, free: 12.86 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.3406, allocations: 105.4 kB / 1.312 GB, free: 12.74 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3406, allocations: 0 / 1.312 GB, free: 12.74 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.3406, allocations: 4 kB / 1.312 GB, free: 12.74 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3406, allocations: 3.938 kB / 1.312 GB, free: 12.73 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.3407, allocations: 67.86 kB / 1.312 GB, free: 12.67 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.3412, allocations: 331.2 kB / 1.312 GB, free: 12.29 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.3413, allocations: 110.3 kB / 1.313 GB, free: 12.15 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.053e-05/0.3414, allocations: 63.45 kB / 1.313 GB, free: 12.07 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.3414, allocations: 4 kB / 1.313 GB, free: 12.07 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.3415, allocations: 38.5 kB / 1.313 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3415, allocations: 3.938 kB / 1.313 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4): time 0.0003737/0.3418, allocations: 181.3 kB / 1.313 GB, free: 11.84 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.177e-05/0.3419, allocations: 136.9 kB / 1.313 GB, free: 11.67 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000735/0.3427, allocations: 0.5132 MB / 1.314 GB, free: 11.15 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.3427, allocations: 25.7 kB / 1.314 GB, free: 11.12 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.3428, allocations: 164.1 kB / 1.314 GB, free: 10.95 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.3428, allocations: 11.91 kB / 1.314 GB, free: 10.94 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.3429, allocations: 25.66 kB / 1.314 GB, free: 10.91 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001865/0.3431, allocations: 346.8 kB / 1.314 GB, free: 10.56 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.3e-05/0.3431, allocations: 31.97 kB / 1.314 GB, free: 10.53 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.273e-05/0.3432, allocations: 63.39 kB / 1.314 GB, free: 10.46 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.3434, allocations: 103.3 kB / 1.314 GB, free: 10.34 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3434, allocations: 0 / 1.314 GB, free: 10.34 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.000232/0.3436, allocations: 145.4 kB / 1.314 GB, free: 10.2 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3436, allocations: 11.94 kB / 1.314 GB, free: 10.18 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3436, allocations: 0 / 1.314 GB, free: 10.18 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3437, allocations: 0 / 1.314 GB, free: 10.18 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.3438, allocations: 15.92 kB / 1.314 GB, free: 10.17 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3438, allocations: 4 kB / 1.314 GB, free: 10.16 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.3439, allocations: 7.984 kB / 1.314 GB, free: 10.16 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.344, allocations: 4 kB / 1.314 GB, free: 10.15 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * 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 (4):
 * Single equations (assignments): 4
 * 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.0001708/0.3441, allocations: 177.8 kB / 1.315 GB, free: 9.969 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.3442, allocations: 43.75 kB / 1.315 GB, free: 9.926 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003519/0.3445, allocations: 183.7 kB / 1.315 GB, free: 9.742 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3445, allocations: 0 / 1.315 GB, free: 9.742 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.3445, allocations: 4 kB / 1.315 GB, free: 9.738 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.3446, allocations: 7.984 kB / 1.315 GB, free: 9.73 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.3449, allocations: 276.5 kB / 1.315 GB, free: 9.418 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.3449, allocations: 7.938 kB / 1.315 GB, free: 9.41 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.44e-05/0.345, allocations: 16.11 kB / 1.315 GB, free: 9.395 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.345, allocations: 7.938 kB / 1.315 GB, free: 9.387 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.345, allocations: 0 / 1.315 GB, free: 9.387 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.345, allocations: 4 kB / 1.315 GB, free: 9.383 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.345, allocations: 0 / 1.315 GB, free: 9.383 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.3453, allocations: 195.4 kB / 1.315 GB, free: 9.164 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.3454, allocations: 71.61 kB / 1.315 GB, free: 9.094 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.3455, allocations: 4 kB / 1.315 GB, free: 9.09 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.3456, allocations: 7.984 kB / 1.315 GB, free: 9.082 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.3457, allocations: 11.92 kB / 1.315 GB, free: 9.07 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.3457, allocations: 4 kB / 1.315 GB, free: 9.066 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0005205/0.3462, allocations: 395 kB / 1.316 GB, free: 8.684 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.3462, allocations: 0 / 1.316 GB, free: 8.684 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002601/0.3464, allocations: 36 kB / 1.316 GB, free: 8.648 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * 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.000115/0.3466, allocations: 112 kB / 1.316 GB, free: 8.531 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001935/0.3468, allocations: 83.86 kB / 1.316 GB, free: 8.449 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.3468, allocations: 0 / 1.316 GB, free: 8.449 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 7.468e-05/0.3468, allocations: 43.91 kB / 1.316 GB, free: 8.406 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.3472, allocations: 71 kB / 1.316 GB, free: 8.34 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.3483, allocations: 0.5925 MB / 1.317 GB, free: 7.711 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.3488, allocations: 0.8143 MB / 1.317 GB, free: 6.871 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001317/0.3489, allocations: 50.25 kB / 1.318 GB, free: 6.824 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.263e-05/0.349, allocations: 27.42 kB / 1.318 GB, free: 6.797 MB / 1.014 GB
Notification: Performance of SimCode: time 5.91e-07/0.349, allocations: 0 / 1.318 GB, free: 6.797 MB / 1.014 GB
Notification: Performance of Templates: time 0.008243/0.3572, allocations: 3.666 MB / 1.321 GB, free: 3.18 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.836024003103375]