Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.001482/0.001482, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001746/0.001746, allocations: 189 kB / 22.1 MB, free: 5.148 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.564/1.564, allocations: 225.6 MB / 250.8 MB, free: 13.04 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.516/3.516, allocations: 495.8 MB / 0.783 GB, free: 33.7 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.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max")
translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 72.62 kB / 1.137 GB, free: 33.78 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4512/0.4533, allocations: 173.6 MB / 1.307 GB, free: 1.82 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.003076/0.4564, allocations: 0.7983 MB / 1.308 GB, free: 1.023 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001427/0.4578, allocations: 0.8663 MB / 1.308 GB, free: 148 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 9.165e-05/0.4579, allocations: 0 / 1.308 GB, free: 148 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 4.898e-05/0.4579, allocations: 11.88 kB / 1.308 GB, free: 136 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.4581, allocations: 11.86 kB / 1.308 GB, free: 124 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.4583, allocations: 39.95 kB / 1.308 GB, free: 84 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001779/0.4585, allocations: 83.77 kB / 1.309 GB, free: 0 / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.4587, allocations: 28.02 kB / 1.309 GB, free: 15.97 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.4588, allocations: 39.86 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.4589, allocations: 47.81 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.459, allocations: 8 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 2.009e-05/0.459, allocations: 8 kB / 1.309 GB, free: 15.87 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 3.807e-05/0.459, allocations: 19.98 kB / 1.309 GB, free: 15.85 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 6.543e-05/0.4591, allocations: 35.78 kB / 1.309 GB, free: 15.81 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.4593, allocations: 95.53 kB / 1.309 GB, free: 15.72 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4593, allocations: 0 / 1.309 GB, free: 15.72 MB / 1.014 GB
Notification: Performance of FrontEnd: time 3.096e-06/0.4593, allocations: 4 kB / 1.309 GB, free: 15.71 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.166e-06/0.4593, allocations: 0 / 1.309 GB, free: 15.71 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: 13
 * Number of variables: 13
Notification: Performance of Generate backend data structure: time 0.0007423/0.4601, allocations: 322 kB / 1.309 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.4601, allocations: 8.031 kB / 1.309 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.021e-05/0.4602, allocations: 8.891 kB / 1.309 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.4604, allocations: 122.4 kB / 1.309 GB, free: 15.21 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.4604, allocations: 4.375 kB / 1.309 GB, free: 15.21 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.4604, allocations: 8.375 kB / 1.309 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.4608, allocations: 111.3 kB / 1.309 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.4608, allocations: 3.938 kB / 1.309 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.4608, allocations: 0 / 1.309 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.4608, allocations: 0 / 1.309 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004551/0.4613, allocations: 95.91 kB / 1.309 GB, free: 14.99 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006961/0.462, allocations: 319.7 kB / 1.31 GB, free: 14.63 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006895/0.4626, allocations: 118.5 kB / 1.31 GB, free: 14.51 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.4628, allocations: 52.81 kB / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.4629, allocations: 4 kB / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.4629, allocations: 34.56 kB / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=7): time 4.709e-06/0.4629, allocations: 3.938 kB / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7): time 0.0007594/0.4637, allocations: 181.4 kB / 1.31 GB, free: 14.22 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.4637, allocations: 59.41 kB / 1.31 GB, free: 14.15 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.4639, allocations: 129.7 kB / 1.31 GB, free: 14.02 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.4639, allocations: 29.64 kB / 1.31 GB, free: 13.98 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.228e-05/0.464, allocations: 92.08 kB / 1.31 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/0.464, allocations: 27.78 kB / 1.31 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.983e-05/0.4641, allocations: 25.7 kB / 1.31 GB, free: 13.83 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001634/0.4643, allocations: 318.8 kB / 1.311 GB, free: 13.51 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.4645, allocations: 47.95 kB / 1.311 GB, free: 13.46 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.4647, allocations: 43.95 kB / 1.311 GB, free: 13.42 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.465, allocations: 96.78 kB / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.465, allocations: 0 / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004475/0.4655, allocations: 142 kB / 1.311 GB, free: 13.18 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.4655, allocations: 4 kB / 1.311 GB, free: 13.17 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4655, allocations: 0 / 1.311 GB, free: 13.17 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.4655, allocations: 0 / 1.311 GB, free: 13.17 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.4657, allocations: 27.97 kB / 1.311 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.4657, allocations: 4.062 kB / 1.311 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.4658, allocations: 19.92 kB / 1.311 GB, free: 13.12 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.4659, allocations: 7.984 kB / 1.311 GB, free: 13.11 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (7):
 * Single equations (assignments): 7
 * 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.0001275/0.466, allocations: 118.6 kB / 1.311 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.466, allocations: 3.953 kB / 1.311 GB, free: 12.98 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005331/0.4666, allocations: 157.9 kB / 1.311 GB, free: 12.82 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.4666, allocations: 0 / 1.311 GB, free: 12.82 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4666, allocations: 4 kB / 1.311 GB, free: 12.82 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.4666, allocations: 7.922 kB / 1.311 GB, free: 12.81 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.4669, allocations: 168.6 kB / 1.312 GB, free: 12.6 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4669, allocations: 0 / 1.312 GB, free: 12.6 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.4672, allocations: 27.97 kB / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.4672, allocations: 0 / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.4672, allocations: 3.984 kB / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.4672, allocations: 4 kB / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4672, allocations: 4 kB / 1.312 GB, free: 12.56 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005119/0.4677, allocations: 235.3 kB / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.4677, allocations: 3.953 kB / 1.312 GB, free: 12.31 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.4678, allocations: 11.94 kB / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.4679, allocations: 15.92 kB / 1.312 GB, free: 12.29 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.576e-05/0.468, allocations: 31.89 kB / 1.312 GB, free: 12.25 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.468, allocations: 3.984 kB / 1.312 GB, free: 12.25 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 7.731e-05/0.4681, allocations: 91.28 kB / 1.312 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.4681, allocations: 0 / 1.312 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002474/0.4683, allocations: 16 kB / 1.312 GB, free: 12.14 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: 3 (max1.y,reaToInt.y,reaToInt1.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (7):
 * Single equations (assignments): 7
 * 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.0001526/0.4685, allocations: 99.23 kB / 1.312 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004638/0.4689, allocations: 107.8 kB / 1.312 GB, free: 11.93 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4689, allocations: 0 / 1.312 GB, free: 11.93 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.4692, allocations: 55.94 kB / 1.312 GB, free: 11.88 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.4695, allocations: 10.19 kB / 1.312 GB, free: 11.87 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005579/0.4701, allocations: 174.1 kB / 1.312 GB, free: 11.67 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.4704, allocations: 0.6923 MB / 1.313 GB, free: 10.95 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 7.123e-05/0.4705, allocations: 15.75 kB / 1.313 GB, free: 10.94 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.103e-05/0.4706, allocations: 23.42 kB / 1.313 GB, free: 10.91 MB / 1.014 GB
Notification: Performance of SimCode: time 6.01e-07/0.4706, allocations: 0 / 1.313 GB, free: 10.91 MB / 1.014 GB
Notification: Performance of Templates: time 0.005588/0.4762, allocations: 1.627 MB / 1.315 GB, free: 9.301 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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: 10.17985363304615]