Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.001576/0.001576, 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.00151/0.00151, 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.443/1.443, allocations: 225.6 MB / 251 MB, free: 13.03 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.298/3.298, allocations: 0.4893 GB / 0.7884 GB, free: 33.06 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.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal")
translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 60.53 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3992, allocations: 174.9 MB / 1.316 GB, free: 9.688 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003651/0.4029, allocations: 2.019 MB / 1.318 GB, free: 7.66 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.002161/0.405, allocations: 1.231 MB / 1.319 GB, free: 6.426 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.4052, allocations: 11.88 kB / 1.319 GB, free: 6.414 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0004581/0.4056, allocations: 155.5 kB / 1.319 GB, free: 6.262 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.406, allocations: 167.3 kB / 1.32 GB, free: 6.098 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.4065, allocations: 222.6 kB / 1.32 GB, free: 5.883 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0004087/0.4069, allocations: 319.1 kB / 1.32 GB, free: 5.57 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.407, allocations: 32.52 kB / 1.32 GB, free: 5.535 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002588/0.4073, allocations: 159.4 kB / 1.32 GB, free: 5.379 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.4075, allocations: 167.3 kB / 1.32 GB, free: 5.215 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.354e-05/0.4075, allocations: 16 kB / 1.32 GB, free: 5.199 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.4077, allocations: 51.97 kB / 1.32 GB, free: 5.148 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.4078, allocations: 95.67 kB / 1.321 GB, free: 5.055 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.4079, allocations: 123.1 kB / 1.321 GB, free: 4.934 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004442/0.4084, allocations: 362.5 kB / 1.321 GB, free: 4.578 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4084, allocations: 0 / 1.321 GB, free: 4.578 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.453e-06/0.4084, allocations: 0 / 1.321 GB, free: 4.578 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.184e-06/0.4084, allocations: 0 / 1.321 GB, free: 4.578 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: 17
 * Number of variables: 17
Notification: Performance of Generate backend data structure: time 0.000995/0.4094, allocations: 0.5683 MB / 1.322 GB, free: 3.98 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4094, allocations: 12.03 kB / 1.322 GB, free: 3.969 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.418e-05/0.4095, allocations: 36.7 kB / 1.322 GB, free: 3.934 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.41, allocations: 316.4 kB / 1.322 GB, free: 3.602 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.41, allocations: 8 kB / 1.322 GB, free: 3.594 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.4101, allocations: 8 kB / 1.322 GB, free: 3.586 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.4103, allocations: 113.5 kB / 1.322 GB, free: 3.469 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.4103, allocations: 0 / 1.322 GB, free: 3.469 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.4104, allocations: 0 / 1.322 GB, free: 3.469 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.4104, allocations: 8 kB / 1.322 GB, free: 3.461 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.4105, allocations: 63.94 kB / 1.322 GB, free: 3.398 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008437/0.4114, allocations: 463.6 kB / 1.323 GB, free: 2.902 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.4117, allocations: 130.8 kB / 1.323 GB, free: 2.766 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.4118, allocations: 48.83 kB / 1.323 GB, free: 2.715 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.4119, allocations: 0 / 1.323 GB, free: 2.715 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002488/0.4121, allocations: 119.2 kB / 1.323 GB, free: 2.586 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.4121, allocations: 0 / 1.323 GB, free: 2.586 MB / 1.014 GB
Notification: Performance of matching and sorting (n=13): time 0.0005455/0.4127, allocations: 221.3 kB / 1.323 GB, free: 2.363 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.4127, allocations: 63.41 kB / 1.323 GB, free: 2.289 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006838/0.4134, allocations: 0.5093 MB / 1.324 GB, free: 1.77 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.4134, allocations: 25.7 kB / 1.324 GB, free: 1.738 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.4136, allocations: 164.5 kB / 1.324 GB, free: 1.57 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.4136, allocations: 43.67 kB / 1.324 GB, free: 1.527 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.4137, allocations: 73.89 kB / 1.324 GB, free: 1.445 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001713/0.4139, allocations: 350.8 kB / 1.324 GB, free: 1.094 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/0.4142, allocations: 104.5 kB / 1.324 GB, free: 0.9922 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.4144, allocations: 136.7 kB / 1.324 GB, free: 0.8516 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.4148, allocations: 174.5 kB / 1.325 GB, free: 0.6719 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4148, allocations: 0 / 1.325 GB, free: 0.6719 MB / 1.014 GB
Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005663/0.4154, allocations: 321.3 kB / 1.325 GB, free: 360 kB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.4154, allocations: 17.75 kB / 1.325 GB, free: 344 kB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4154, allocations: 0 / 1.325 GB, free: 344 kB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.4154, allocations: 7.984 kB / 1.325 GB, free: 336 kB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.4156, allocations: 39.98 kB / 1.325 GB, free: 296 kB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.4156, allocations: 4 kB / 1.325 GB, free: 292 kB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.4158, allocations: 23.81 kB / 1.325 GB, free: 268 kB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.4158, allocations: 12 kB / 1.325 GB, free: 256 kB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (33):
 * Single equations (assignments): 33
 * 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.0002067/0.416, allocations: 180 kB / 1.325 GB, free: 68 kB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.4161, allocations: 43.7 kB / 1.325 GB, free: 24 kB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004652/0.4165, allocations: 187.6 kB / 1.325 GB, free: 15.84 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4165, allocations: 4 kB / 1.325 GB, free: 15.84 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4165, allocations: 0 / 1.325 GB, free: 15.84 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4165, allocations: 0 / 1.325 GB, free: 15.84 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.4169, allocations: 268.6 kB / 1.326 GB, free: 15.53 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4169, allocations: 0 / 1.326 GB, free: 15.53 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.57e-05/0.4169, allocations: 11.98 kB / 1.326 GB, free: 15.52 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.4169, allocations: 7.938 kB / 1.326 GB, free: 15.51 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.4169, allocations: 4 kB / 1.326 GB, free: 15.51 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4169, allocations: 0 / 1.326 GB, free: 15.51 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4169, allocations: 0 / 1.326 GB, free: 15.51 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.4174, allocations: 212.8 kB / 1.326 GB, free: 15.28 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.741e-05/0.4174, allocations: 47.69 kB / 1.326 GB, free: 15.23 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.4175, allocations: 3.938 kB / 1.326 GB, free: 15.23 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.417e-05/0.4176, allocations: 16 kB / 1.326 GB, free: 15.21 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.428e-05/0.4176, allocations: 19.97 kB / 1.326 GB, free: 15.2 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.4177, allocations: 7.984 kB / 1.326 GB, free: 15.19 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0004584/0.4181, allocations: 315.1 kB / 1.326 GB, free: 14.88 MB / 1.029 GB
Notification: Performance of sort global known variables: time 1.21e-07/0.4181, allocations: 3.938 kB / 1.326 GB, free: 14.88 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0002953/0.4184, allocations: 59.92 kB / 1.326 GB, free: 14.82 MB / 1.029 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled)
 * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (13):
 * Single equations (assignments): 9
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 4
 * 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.001514/0.4199, allocations: 409.6 kB / 1.327 GB, free: 14.56 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.0004308/0.4204, allocations: 192 kB / 1.327 GB, free: 14.38 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4204, allocations: 0 / 1.327 GB, free: 14.38 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.4205, allocations: 59.66 kB / 1.327 GB, free: 14.32 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.421, allocations: 95.44 kB / 1.327 GB, free: 14.23 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009408/0.4219, allocations: 0.531 MB / 1.328 GB, free: 13.68 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.4225, allocations: 0.791 MB / 1.328 GB, free: 12.86 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0001466/0.4226, allocations: 54.94 kB / 1.328 GB, free: 12.8 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.74e-05/0.4227, allocations: 31.42 kB / 1.328 GB, free: 12.78 MB / 1.029 GB
Notification: Performance of SimCode: time 5.51e-07/0.4227, allocations: 0 / 1.328 GB, free: 12.78 MB / 1.029 GB
Notification: Performance of Templates: time 0.009476/0.4322, allocations: 4.159 MB / 1.333 GB, free: 8.652 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.358945039100945]