Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00143/0.00143, 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.001695/0.001695, allocations: 191 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.574/1.574, 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.14 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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 70.28 kB / 1.145 GB, free: 30.63 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4362, allocations: 174.9 MB / 1.316 GB, free: 9.672 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.003327/0.4395, allocations: 0.7271 MB / 1.317 GB, free: 8.949 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.00157/0.4411, allocations: 0.839 MB / 1.318 GB, free: 8.098 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.139e-05/0.4411, allocations: 4 kB / 1.318 GB, free: 8.094 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 4.538e-05/0.4412, allocations: 3.938 kB / 1.318 GB, free: 8.09 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.4413, allocations: 3.938 kB / 1.318 GB, free: 8.086 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.4415, allocations: 23.97 kB / 1.318 GB, free: 8.062 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001449/0.4416, allocations: 51.84 kB / 1.318 GB, free: 8.012 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.4418, allocations: 15.98 kB / 1.318 GB, free: 7.996 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.024e-05/0.4419, allocations: 15.98 kB / 1.318 GB, free: 7.98 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.577e-05/0.4419, allocations: 23.86 kB / 1.318 GB, free: 7.957 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.442, allocations: 4 kB / 1.318 GB, free: 7.953 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.832e-05/0.442, allocations: 4 kB / 1.318 GB, free: 7.949 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 3.521e-05/0.442, allocations: 23.91 kB / 1.318 GB, free: 7.926 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.552e-05/0.4421, allocations: 15.88 kB / 1.318 GB, free: 7.91 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.4422, allocations: 51.78 kB / 1.318 GB, free: 7.859 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4422, allocations: 0 / 1.318 GB, free: 7.859 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.573e-06/0.4422, allocations: 0 / 1.318 GB, free: 7.859 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.362e-05/0.4422, allocations: 0 / 1.318 GB, free: 7.859 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.000762/0.443, allocations: 278.3 kB / 1.318 GB, free: 7.559 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.443, allocations: 12.03 kB / 1.318 GB, free: 7.547 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.4431, allocations: 4.891 kB / 1.318 GB, free: 7.543 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.4432, allocations: 114.5 kB / 1.318 GB, free: 7.406 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.4433, allocations: 4.375 kB / 1.318 GB, free: 7.402 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.4433, allocations: 384 / 1.318 GB, free: 7.402 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.4436, allocations: 77.52 kB / 1.318 GB, free: 7.32 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.4436, allocations: 4 kB / 1.318 GB, free: 7.316 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.4436, allocations: 4 kB / 1.318 GB, free: 7.312 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.4436, allocations: 0 / 1.318 GB, free: 7.312 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003044/0.4439, allocations: 47.95 kB / 1.318 GB, free: 7.266 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006438/0.4446, allocations: 263.8 kB / 1.319 GB, free: 6.965 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.4449, allocations: 70.5 kB / 1.319 GB, free: 6.887 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.445, allocations: 28.83 kB / 1.319 GB, free: 6.855 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.445, allocations: 0 / 1.319 GB, free: 6.855 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.4451, allocations: 34.55 kB / 1.319 GB, free: 6.812 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4451, allocations: 3.938 kB / 1.319 GB, free: 6.809 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4): time 0.0006264/0.4457, allocations: 109.6 kB / 1.319 GB, free: 6.695 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.4458, allocations: 51.41 kB / 1.319 GB, free: 6.633 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.4459, allocations: 113.8 kB / 1.319 GB, free: 6.512 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.446, allocations: 29.64 kB / 1.319 GB, free: 6.477 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.446, allocations: 84.14 kB / 1.319 GB, free: 6.391 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.4461, allocations: 11.89 kB / 1.319 GB, free: 6.379 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.695e-05/0.4461, allocations: 21.7 kB / 1.319 GB, free: 6.352 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001976/0.4463, allocations: 322.8 kB / 1.319 GB, free: 6.027 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.4465, allocations: 23.97 kB / 1.319 GB, free: 6.004 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.4466, allocations: 19.98 kB / 1.319 GB, free: 5.984 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.4469, allocations: 52.81 kB / 1.319 GB, free: 5.93 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4469, allocations: 0 / 1.319 GB, free: 5.93 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003818/0.4473, allocations: 93.88 kB / 1.32 GB, free: 5.832 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.4473, allocations: 4 kB / 1.32 GB, free: 5.828 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4473, allocations: 0 / 1.32 GB, free: 5.828 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4473, allocations: 0 / 1.32 GB, free: 5.828 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.4475, allocations: 15.97 kB / 1.32 GB, free: 5.812 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.4475, allocations: 0 / 1.32 GB, free: 5.812 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.4476, allocations: 11.97 kB / 1.32 GB, free: 5.801 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.4476, allocations: 4 kB / 1.32 GB, free: 5.797 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,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.0001215/0.4478, allocations: 114.4 kB / 1.32 GB, free: 5.676 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.4478, allocations: 11.95 kB / 1.32 GB, free: 5.664 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.4478, allocations: 7.984 kB / 1.32 GB, free: 5.645 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4478, allocations: 0 / 1.32 GB, free: 5.645 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.4479, allocations: 0 / 1.32 GB, free: 5.645 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4479, allocations: 4 kB / 1.32 GB, free: 5.641 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.4481, allocations: 144.7 kB / 1.32 GB, free: 5.457 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.4481, allocations: 0 / 1.32 GB, free: 5.457 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.4484, allocations: 15.97 kB / 1.32 GB, free: 5.441 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.4484, allocations: 7.938 kB / 1.32 GB, free: 5.434 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.4484, allocations: 4 kB / 1.32 GB, free: 5.43 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4484, allocations: 4 kB / 1.32 GB, free: 5.426 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4484, allocations: 0 / 1.32 GB, free: 5.426 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.4488, allocations: 183.4 kB / 1.32 GB, free: 5.23 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.4488, allocations: 3.953 kB / 1.32 GB, free: 5.227 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.4489, allocations: 4 kB / 1.32 GB, free: 5.223 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.449, allocations: 7.984 kB / 1.32 GB, free: 5.215 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/0.4491, allocations: 15.98 kB / 1.32 GB, free: 5.199 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.4491, allocations: 0 / 1.32 GB, free: 5.199 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 7.681e-05/0.4492, allocations: 91.56 kB / 1.32 GB, free: 5.109 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9.1e-08/0.4492, allocations: 0 / 1.32 GB, free: 5.109 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003855/0.4496, allocations: 15.88 kB / 1.32 GB, free: 5.094 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 (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.0001392/0.4497, allocations: 99.78 kB / 1.32 GB, free: 4.988 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.000449/0.4502, allocations: 55.89 kB / 1.32 GB, free: 4.934 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4502, allocations: 0 / 1.32 GB, free: 4.934 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.4504, allocations: 31.97 kB / 1.32 GB, free: 4.902 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.4508, allocations: 11.98 kB / 1.32 GB, free: 4.891 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/0.4513, allocations: 125.5 kB / 1.321 GB, free: 4.742 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.4517, allocations: 0.6807 MB / 1.321 GB, free: 4.035 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 6.554e-05/0.4518, allocations: 11.98 kB / 1.321 GB, free: 4.023 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.108e-05/0.4519, allocations: 11.44 kB / 1.321 GB, free: 4.012 MB / 1.014 GB
Notification: Performance of SimCode: time 6.91e-07/0.4519, allocations: 0 / 1.321 GB, free: 4.012 MB / 1.014 GB
Notification: Performance of Templates: time 0.00509/0.457, allocations: 0.9095 MB / 1.322 GB, free: 3.105 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.734544306062162]