Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.001377/0.001377, 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.001473/0.001473, 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.532/1.532, 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.365/3.365, allocations: 0.4893 GB / 0.7884 GB, free: 33.17 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.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold")
translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002805/0.002805, allocations: 67.83 kB / 1.145 GB, free: 30.65 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4451/0.4479, allocations: 174.9 MB / 1.316 GB, free: 9.707 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.003091/0.451, allocations: 0.7164 MB / 1.317 GB, free: 8.996 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001489/0.4525, allocations: 0.839 MB / 1.318 GB, free: 8.145 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.295e-05/0.4526, allocations: 4 kB / 1.318 GB, free: 8.141 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 4.805e-05/0.4526, allocations: 3.938 kB / 1.318 GB, free: 8.137 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.4527, allocations: 3.938 kB / 1.318 GB, free: 8.133 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.453, allocations: 27.92 kB / 1.318 GB, free: 8.105 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001535/0.4532, allocations: 43.91 kB / 1.318 GB, free: 8.062 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.4533, allocations: 15.97 kB / 1.318 GB, free: 8.047 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.4534, allocations: 15.94 kB / 1.318 GB, free: 8.031 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.4535, allocations: 35.84 kB / 1.318 GB, free: 7.996 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.4536, allocations: 4 kB / 1.318 GB, free: 7.992 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.661e-05/0.4536, allocations: 4 kB / 1.318 GB, free: 7.988 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 3.001e-05/0.4536, allocations: 8 kB / 1.318 GB, free: 7.98 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 6.344e-05/0.4537, allocations: 27.84 kB / 1.318 GB, free: 7.953 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.4538, allocations: 47.73 kB / 1.318 GB, free: 7.906 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4538, allocations: 0 / 1.318 GB, free: 7.906 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.954e-06/0.4538, allocations: 0 / 1.318 GB, free: 7.906 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.092e-06/0.4538, allocations: 0 / 1.318 GB, free: 7.906 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0005753/0.4544, allocations: 282.3 kB / 1.318 GB, free: 7.602 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4545, allocations: 12.03 kB / 1.318 GB, free: 7.59 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.4545, allocations: 4.891 kB / 1.318 GB, free: 7.586 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.4546, allocations: 114.5 kB / 1.318 GB, free: 7.449 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.4547, allocations: 4.312 kB / 1.318 GB, free: 7.445 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.4547, allocations: 8.375 kB / 1.318 GB, free: 7.438 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.4549, allocations: 69.59 kB / 1.318 GB, free: 7.363 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.4549, allocations: 0 / 1.318 GB, free: 7.363 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.4549, allocations: 0 / 1.318 GB, free: 7.363 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.4549, allocations: 0 / 1.318 GB, free: 7.363 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.4551, allocations: 55.94 kB / 1.318 GB, free: 7.309 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.4556, allocations: 259.8 kB / 1.319 GB, free: 7.012 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.4558, allocations: 62.58 kB / 1.319 GB, free: 6.941 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.4559, allocations: 36.81 kB / 1.319 GB, free: 6.902 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.456, allocations: 0 / 1.319 GB, free: 6.902 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.456, allocations: 34.56 kB / 1.319 GB, free: 6.859 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.456, allocations: 0 / 1.319 GB, free: 6.859 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4): time 0.0004369/0.4564, allocations: 105.6 kB / 1.319 GB, free: 6.75 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.4565, allocations: 55.39 kB / 1.319 GB, free: 6.684 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.4566, allocations: 121.8 kB / 1.319 GB, free: 6.555 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.4567, allocations: 29.7 kB / 1.319 GB, free: 6.52 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.4568, allocations: 80.14 kB / 1.319 GB, free: 6.438 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.4568, allocations: 15.89 kB / 1.319 GB, free: 6.422 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.36e-05/0.4569, allocations: 17.7 kB / 1.319 GB, free: 6.398 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0002042/0.4571, allocations: 318.8 kB / 1.319 GB, free: 6.078 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.4572, allocations: 23.97 kB / 1.319 GB, free: 6.055 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.368e-05/0.4573, allocations: 23.98 kB / 1.319 GB, free: 6.031 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.4575, allocations: 52.81 kB / 1.319 GB, free: 5.977 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4575, allocations: 4 kB / 1.319 GB, free: 5.973 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002756/0.4578, allocations: 85.53 kB / 1.32 GB, free: 5.883 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/0.4578, allocations: 8 kB / 1.32 GB, free: 5.875 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.4578, allocations: 336 / 1.32 GB, free: 5.875 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.4578, allocations: 4 kB / 1.32 GB, free: 5.871 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.458, allocations: 11.98 kB / 1.32 GB, free: 5.859 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.458, allocations: 0 / 1.32 GB, free: 5.859 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.538e-05/0.4581, allocations: 7.984 kB / 1.32 GB, free: 5.852 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.4581, allocations: 4 kB / 1.32 GB, free: 5.848 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: 2 (reaToInt.y,intGreThr.y)
 * 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.0001568/0.4583, allocations: 117.8 kB / 1.32 GB, free: 5.723 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.4583, allocations: 11.89 kB / 1.32 GB, free: 5.711 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.152e-05/0.4584, allocations: 8 kB / 1.32 GB, free: 5.691 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.4584, allocations: 4 kB / 1.32 GB, free: 5.688 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.4584, allocations: 4 kB / 1.32 GB, free: 5.684 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.4584, allocations: 3.984 kB / 1.32 GB, free: 5.68 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.4587, allocations: 148.7 kB / 1.32 GB, free: 5.492 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4587, allocations: 0 / 1.32 GB, free: 5.492 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.043e-05/0.4588, allocations: 11.98 kB / 1.32 GB, free: 5.48 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.4588, allocations: 3.938 kB / 1.32 GB, free: 5.477 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.4588, allocations: 3.938 kB / 1.32 GB, free: 5.473 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.4588, allocations: 7.984 kB / 1.32 GB, free: 5.465 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4588, allocations: 0 / 1.32 GB, free: 5.465 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.4592, allocations: 183.4 kB / 1.32 GB, free: 5.27 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.4592, allocations: 3.953 kB / 1.32 GB, free: 5.266 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.4592, allocations: 4 kB / 1.32 GB, free: 5.262 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.4593, allocations: 11.98 kB / 1.32 GB, free: 5.25 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.503e-05/0.4594, allocations: 7.984 kB / 1.32 GB, free: 5.242 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.4594, allocations: 4 kB / 1.32 GB, free: 5.238 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.666e-05/0.4594, allocations: 83.28 kB / 1.32 GB, free: 5.156 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.4594, allocations: 0 / 1.32 GB, free: 5.156 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002389/0.4597, allocations: 15.94 kB / 1.32 GB, free: 5.141 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: 2 (intGreThr.y,reaToInt.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001363/0.4598, allocations: 99.77 kB / 1.32 GB, free: 5.035 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002834/0.4601, allocations: 51.89 kB / 1.32 GB, free: 4.984 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4601, allocations: 0 / 1.32 GB, free: 4.984 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.4602, allocations: 39.97 kB / 1.32 GB, free: 4.945 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.4606, allocations: 2.344 kB / 1.32 GB, free: 4.945 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004553/0.4611, allocations: 133.5 kB / 1.321 GB, free: 4.789 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.4614, allocations: 0.6846 MB / 1.321 GB, free: 4.078 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 4.917e-05/0.4614, allocations: 8 kB / 1.321 GB, free: 4.07 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.529e-05/0.4615, allocations: 19.36 kB / 1.321 GB, free: 4.051 MB / 1.014 GB
Notification: Performance of SimCode: time 5.81e-07/0.4615, allocations: 0 / 1.321 GB, free: 4.051 MB / 1.014 GB
Notification: Performance of Templates: time 0.003821/0.4653, allocations: 0.8985 MB / 1.322 GB, free: 3.156 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.850566226057708]