Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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.001441/0.001441, 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.001498/0.001498, allocations: 190.9 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.606/1.606, 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 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.883/2.883, allocations: 476.7 MB / 0.7646 GB, free: 9.879 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.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change")
translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 63.89 kB / 1.11 GB, free: 6.297 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.098/1.1, allocations: 168.8 MB / 1.274 GB, free: 4.203 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004163/1.104, allocations: 1.943 MB / 1.276 GB, free: 2.25 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.002254/1.106, allocations: 1.142 MB / 1.277 GB, free: 1.105 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/1.106, allocations: 3.938 kB / 1.277 GB, free: 1.102 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 0.0004434/1.107, allocations: 99.55 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002997/1.107, allocations: 99.59 kB / 1.278 GB, free: 0.9062 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004789/1.107, allocations: 171.1 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0003373/1.108, allocations: 215.4 kB / 1.278 GB, free: 0.5312 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/1.108, allocations: 29.8 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/1.108, allocations: 107.5 kB / 1.278 GB, free: 404 kB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/1.108, allocations: 115.5 kB / 1.278 GB, free: 288 kB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 3.152e-05/1.108, allocations: 12 kB / 1.278 GB, free: 276 kB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/1.108, allocations: 63.95 kB / 1.278 GB, free: 212 kB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 9.49e-05/1.109, allocations: 55.77 kB / 1.278 GB, free: 156 kB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001237/1.109, allocations: 95.41 kB / 1.278 GB, free: 60 kB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005082/1.109, allocations: 273.4 kB / 1.279 GB, free: 15.79 MB / 0.9825 GB
Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/1.109, allocations: 0 / 1.279 GB, free: 15.79 MB / 0.9825 GB
Notification: Performance of FrontEnd: time 1.442e-06/1.109, allocations: 0 / 1.279 GB, free: 15.79 MB / 0.9825 GB
Notification: Performance of Transformations before backend: time 8.596e-06/1.109, allocations: 0 / 1.279 GB, free: 15.79 MB / 0.9825 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 21
 * Number of variables: 21
Notification: Performance of Generate backend data structure: time 0.001116/1.11, allocations: 484.9 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.11, allocations: 12.03 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.252e-05/1.11, allocations: 32.73 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/1.111, allocations: 221.2 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/1.111, allocations: 15.98 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/1.111, allocations: 4 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/1.111, allocations: 123.8 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/1.111, allocations: 0 / 1.279 GB, free: 14.86 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/1.111, allocations: 11.94 kB / 1.28 GB, free: 14.85 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/1.111, allocations: 4 kB / 1.28 GB, free: 14.85 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/1.112, allocations: 83.92 kB / 1.28 GB, free: 14.77 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008247/1.112, allocations: 427.5 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/1.113, allocations: 110.7 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/1.113, allocations: 64.75 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/1.113, allocations: 0 / 1.28 GB, free: 14.12 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003457/1.113, allocations: 123.5 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=16): time 1.553e-06/1.113, allocations: 0 / 1.28 GB, free: 13.99 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=16): time 0.0006926/1.114, allocations: 256.2 kB / 1.281 GB, free: 13.73 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/1.114, allocations: 55.41 kB / 1.281 GB, free: 13.67 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/1.114, allocations: 321.9 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 3.589e-05/1.115, allocations: 33.7 kB / 1.281 GB, free: 13.31 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001592/1.115, allocations: 148.4 kB / 1.281 GB, free: 13.16 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/1.115, allocations: 35.75 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/1.115, allocations: 57.64 kB / 1.281 GB, free: 13.06 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0002003/1.115, allocations: 342.8 kB / 1.281 GB, free: 12.72 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/1.115, allocations: 83.94 kB / 1.282 GB, free: 12.64 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/1.116, allocations: 133.1 kB / 1.282 GB, free: 12.49 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000498/1.116, allocations: 191.4 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.116, allocations: 0 / 1.282 GB, free: 12.29 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005829/1.117, allocations: 281.3 kB / 1.282 GB, free: 12 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/1.117, allocations: 4 kB / 1.282 GB, free: 12 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.117, allocations: 4 kB / 1.282 GB, free: 12 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/1.117, allocations: 7.922 kB / 1.282 GB, free: 11.99 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/1.117, allocations: 43.91 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/1.117, allocations: 4 kB / 1.282 GB, free: 11.94 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/1.117, allocations: 28.03 kB / 1.282 GB, free: 11.91 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/1.117, allocations: 15.98 kB / 1.282 GB, free: 11.9 MB / 0.9825 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 6
 * Number of states: 0 ()
 * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (30):
 * Single equations (assignments): 30
 * 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.0001874/1.117, allocations: 157.5 kB / 1.282 GB, free: 11.73 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/1.117, allocations: 27.8 kB / 1.282 GB, free: 11.71 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005216/1.118, allocations: 207.6 kB / 1.283 GB, free: 11.5 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.118, allocations: 3.938 kB / 1.283 GB, free: 11.49 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.118, allocations: 4 kB / 1.283 GB, free: 11.49 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/1.118, allocations: 0 / 1.283 GB, free: 11.49 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00091/1.119, allocations: 0.5246 MB / 1.283 GB, free: 10.91 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.119, allocations: 0 / 1.283 GB, free: 10.91 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.597e-05/1.119, allocations: 11.98 kB / 1.283 GB, free: 10.9 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/1.119, allocations: 0 / 1.283 GB, free: 10.9 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/1.119, allocations: 8 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.119, allocations: 4 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.119, allocations: 7.984 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004909/1.119, allocations: 298 kB / 1.283 GB, free: 10.58 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/1.119, allocations: 23.86 kB / 1.283 GB, free: 10.55 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/1.119, allocations: 8 kB / 1.283 GB, free: 10.55 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/1.12, allocations: 19.97 kB / 1.283 GB, free: 10.53 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.947e-05/1.12, allocations: 11.98 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/1.12, allocations: 7.984 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 0.0002296/1.12, allocations: 213.1 kB / 1.284 GB, free: 10.3 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 8e-08/1.12, allocations: 0 / 1.284 GB, free: 10.3 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0003286/1.12, allocations: 47.92 kB / 1.284 GB, free: 10.25 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: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y)
 * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (16):
 * Single equations (assignments): 11
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 5
 * 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.001653/1.122, allocations: 410.9 kB / 1.284 GB, free: 9.996 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0005382/1.122, allocations: 179.8 kB / 1.284 GB, free: 9.82 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.122, allocations: 0 / 1.284 GB, free: 9.82 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002046/1.123, allocations: 67.83 kB / 1.284 GB, free: 9.754 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/1.123, allocations: 64.83 kB / 1.284 GB, free: 9.699 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009585/1.124, allocations: 407.3 kB / 1.285 GB, free: 9.273 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/1.125, allocations: 0.748 MB / 1.286 GB, free: 8.5 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 0.0001101/1.125, allocations: 37.92 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.001e-05/1.125, allocations: 23.44 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB
Notification: Performance of SimCode: time 7.81e-07/1.125, allocations: 0 / 1.286 GB, free: 8.441 MB / 0.9825 GB
Notification: Performance of Templates: time 0.008364/1.133, allocations: 3.111 MB / 1.289 GB, free: 5.344 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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.809403157792985]