Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.0015/0.0015, 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.001731/0.001731, allocations: 190.5 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.54/1.54, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.791/2.791, allocations: 476.7 MB / 0.7646 GB, free: 9.887 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold")
translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002725/0.002725, allocations: 75.89 kB / 1.11 GB, free: 6.312 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.092/1.095, allocations: 168.8 MB / 1.274 GB, free: 4.199 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002658/1.097, allocations: 0.7074 MB / 1.275 GB, free: 3.496 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001443/1.099, allocations: 0.8507 MB / 1.276 GB, free: 2.633 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.603e-05/1.099, allocations: 0 / 1.276 GB, free: 2.633 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 3.393e-05/1.099, allocations: 3.938 kB / 1.276 GB, free: 2.629 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001118/1.099, allocations: 3.938 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000177/1.099, allocations: 19.97 kB / 1.276 GB, free: 2.605 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001245/1.099, allocations: 51.84 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/1.099, allocations: 15.98 kB / 1.276 GB, free: 2.539 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.062e-05/1.099, allocations: 19.88 kB / 1.276 GB, free: 2.52 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.047e-05/1.099, allocations: 31.89 kB / 1.276 GB, free: 2.488 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 2.501e-05/1.1, allocations: 4 kB / 1.276 GB, free: 2.484 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/1.1, allocations: 8 kB / 1.276 GB, free: 2.477 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 2.252e-05/1.1, allocations: 4 kB / 1.276 GB, free: 2.473 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 4.46e-05/1.1, allocations: 23.86 kB / 1.276 GB, free: 2.449 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001429/1.1, allocations: 51.5 kB / 1.276 GB, free: 2.402 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.1, allocations: 0 / 1.276 GB, free: 2.402 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 2.134e-06/1.1, allocations: 0 / 1.276 GB, free: 2.402 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 6.563e-06/1.1, allocations: 4 kB / 1.276 GB, free: 2.398 MB / 0.9669 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.0006157/1.1, allocations: 280.9 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/1.1, allocations: 8.031 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/1.1, allocations: 12.89 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/1.101, allocations: 106.5 kB / 1.276 GB, free: 1.949 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/1.101, allocations: 4.375 kB / 1.276 GB, free: 1.945 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/1.101, allocations: 8.312 kB / 1.276 GB, free: 1.938 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/1.101, allocations: 69.53 kB / 1.277 GB, free: 1.863 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/1.101, allocations: 0 / 1.277 GB, free: 1.863 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/1.101, allocations: 0 / 1.277 GB, free: 1.863 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-06/1.101, allocations: 4 kB / 1.277 GB, free: 1.859 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/1.101, allocations: 55.94 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005294/1.102, allocations: 259.8 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/1.102, allocations: 66.52 kB / 1.277 GB, free: 1.434 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/1.102, allocations: 28.88 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000117/1.102, allocations: 4 kB / 1.277 GB, free: 1.398 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/1.102, allocations: 34.56 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=4): time 1.293e-06/1.102, allocations: 0 / 1.277 GB, free: 1.355 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=4): time 0.0004638/1.103, allocations: 109.8 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/1.103, allocations: 59.33 kB / 1.277 GB, free: 1.172 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/1.103, allocations: 109.8 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 1.982e-05/1.103, allocations: 29.7 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/1.103, allocations: 92.09 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 6.826e-05/1.103, allocations: 7.891 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/1.103, allocations: 21.7 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001807/1.103, allocations: 318.7 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/1.103, allocations: 23.97 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.019e-05/1.103, allocations: 27.98 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/1.104, allocations: 52.81 kB / 1.278 GB, free: 476 kB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.104, allocations: 0 / 1.278 GB, free: 476 kB / 0.9669 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002457/1.104, allocations: 89.53 kB / 1.278 GB, free: 380 kB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/1.104, allocations: 4 kB / 1.278 GB, free: 376 kB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.104, allocations: 0 / 1.278 GB, free: 376 kB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/1.104, allocations: 0 / 1.278 GB, free: 376 kB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/1.104, allocations: 11.98 kB / 1.278 GB, free: 364 kB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/1.104, allocations: 8 kB / 1.278 GB, free: 356 kB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.577e-05/1.104, allocations: 11.98 kB / 1.278 GB, free: 344 kB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/1.104, allocations: 0 / 1.278 GB, free: 344 kB / 0.9669 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,intLesThr.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.0001165/1.104, allocations: 115.8 kB / 1.278 GB, free: 220 kB / 0.9669 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/1.104, allocations: 3.938 kB / 1.278 GB, free: 216 kB / 0.9669 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/1.104, allocations: 12 kB / 1.278 GB, free: 200 kB / 0.9669 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/1.104, allocations: 0 / 1.278 GB, free: 200 kB / 0.9669 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.104, allocations: 4 kB / 1.278 GB, free: 196 kB / 0.9669 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.104, allocations: 7.984 kB / 1.278 GB, free: 188 kB / 0.9669 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/1.104, allocations: 148.7 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.104, allocations: 0 / 1.278 GB, free: 15.99 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/1.105, allocations: 15.94 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/1.105, allocations: 0 / 1.278 GB, free: 15.98 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/1.105, allocations: 3.984 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.105, allocations: 0 / 1.278 GB, free: 15.98 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.105, allocations: 0 / 1.278 GB, free: 15.98 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000443/1.105, allocations: 187.4 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/1.105, allocations: 7.953 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/1.105, allocations: 0 / 1.278 GB, free: 15.77 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/1.105, allocations: 7.984 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/1.105, allocations: 11.98 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/1.105, allocations: 0 / 1.278 GB, free: 15.75 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 5.94e-05/1.105, allocations: 87.28 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 6e-08/1.105, allocations: 0 / 1.279 GB, free: 15.66 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002508/1.106, allocations: 15.94 kB / 1.279 GB, free: 15.65 MB / 0.9825 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 (intLesThr.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.0001379/1.106, allocations: 95.23 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0002817/1.106, allocations: 60.12 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.106, allocations: 0 / 1.279 GB, free: 15.49 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001172/1.106, allocations: 28.06 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/1.107, allocations: 10.03 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004427/1.107, allocations: 141.4 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/1.107, allocations: 0.6807 MB / 1.28 GB, free: 14.58 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 4.618e-05/1.107, allocations: 4 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/1.107, allocations: 19.42 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB
Notification: Performance of SimCode: time 5.91e-07/1.107, allocations: 0 / 1.28 GB, free: 14.56 MB / 0.9825 GB
Notification: Performance of Templates: time 0.00403/1.111, allocations: 0.9109 MB / 1.28 GB, free: 13.65 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.457878952845931]