Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002009/0.002009, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002337/0.002337, allocations: 190.2 kB / 22.1 MB, free: 5.148 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.592/1.592, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.371/3.371, allocations: 495.8 MB / 0.783 GB, free: 33.71 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-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 75.75 kB / 1.137 GB, free: 33.83 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4477/0.4499, allocations: 173.6 MB / 1.307 GB, free: 1.867 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003995/0.4539, allocations: 1.95 MB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.002242/0.4561, allocations: 1.15 MB / 1.31 GB, free: 14.75 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.4563, allocations: 7.938 kB / 1.31 GB, free: 14.75 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0004525/0.4567, allocations: 95.56 kB / 1.31 GB, free: 14.65 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.457, allocations: 91.58 kB / 1.31 GB, free: 14.56 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.4576, allocations: 170.8 kB / 1.31 GB, free: 14.4 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.000338/0.4579, allocations: 219.4 kB / 1.31 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.4581, allocations: 33.73 kB / 1.31 GB, free: 14.15 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.4583, allocations: 103.6 kB / 1.31 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.4585, allocations: 111.5 kB / 1.311 GB, free: 13.94 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.949e-05/0.4585, allocations: 12 kB / 1.311 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.4587, allocations: 55.97 kB / 1.311 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.000111/0.4588, allocations: 63.81 kB / 1.311 GB, free: 13.81 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.4589, allocations: 91.36 kB / 1.311 GB, free: 13.72 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004697/0.4594, allocations: 262.9 kB / 1.311 GB, free: 13.46 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4594, allocations: 4 kB / 1.311 GB, free: 13.46 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.765e-06/0.4594, allocations: 0 / 1.311 GB, free: 13.46 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.236e-06/0.4594, allocations: 3.938 kB / 1.311 GB, free: 13.45 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: 21
 * Number of variables: 21
Notification: Performance of Generate backend data structure: time 0.001166/0.4606, allocations: 492.8 kB / 1.312 GB, free: 12.94 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.4606, allocations: 8.031 kB / 1.312 GB, free: 12.93 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.418e-05/0.4607, allocations: 28.75 kB / 1.312 GB, free: 12.91 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000461/0.4611, allocations: 225.1 kB / 1.312 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.326e-05/0.4612, allocations: 12 kB / 1.312 GB, free: 12.65 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.4612, allocations: 12 kB / 1.312 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.4616, allocations: 122.7 kB / 1.312 GB, free: 12.51 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4616, allocations: 0 / 1.312 GB, free: 12.51 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.4616, allocations: 11.92 kB / 1.312 GB, free: 12.5 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.4616, allocations: 0 / 1.312 GB, free: 12.5 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.462, allocations: 87.92 kB / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009045/0.4629, allocations: 415.6 kB / 1.312 GB, free: 11.96 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003862/0.4632, allocations: 118.6 kB / 1.313 GB, free: 11.84 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.4634, allocations: 56.83 kB / 1.313 GB, free: 11.78 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.4635, allocations: 0 / 1.313 GB, free: 11.78 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000336/0.4638, allocations: 128.8 kB / 1.313 GB, free: 11.64 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=16): time 2.104e-06/0.4638, allocations: 0 / 1.313 GB, free: 11.64 MB / 1.014 GB
Notification: Performance of matching and sorting (n=16): time 0.0007402/0.4645, allocations: 259.2 kB / 1.313 GB, free: 11.39 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.4646, allocations: 55.41 kB / 1.313 GB, free: 11.32 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003945/0.465, allocations: 321.9 kB / 1.313 GB, free: 11 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.465, allocations: 37.64 kB / 1.313 GB, free: 10.95 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.4652, allocations: 140.5 kB / 1.313 GB, free: 10.81 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 5.094e-05/0.4652, allocations: 39.69 kB / 1.313 GB, free: 10.77 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.4653, allocations: 57.69 kB / 1.314 GB, free: 10.71 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001699/0.4655, allocations: 338.8 kB / 1.314 GB, free: 10.37 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.4657, allocations: 79.95 kB / 1.314 GB, free: 10.29 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.466, allocations: 141 kB / 1.314 GB, free: 10.13 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.4664, allocations: 196.7 kB / 1.314 GB, free: 9.926 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.4664, allocations: 0 / 1.314 GB, free: 9.926 MB / 1.014 GB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006351/0.467, allocations: 277.3 kB / 1.315 GB, free: 9.648 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.4671, allocations: 4 kB / 1.315 GB, free: 9.645 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.4671, allocations: 4 kB / 1.315 GB, free: 9.641 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.4671, allocations: 0 / 1.315 GB, free: 9.641 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.4673, allocations: 47.91 kB / 1.315 GB, free: 9.594 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.4673, allocations: 4 kB / 1.315 GB, free: 9.59 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.4675, allocations: 23.88 kB / 1.315 GB, free: 9.566 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.4676, allocations: 8 kB / 1.315 GB, free: 9.559 MB / 1.014 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.000256/0.4678, allocations: 173.5 kB / 1.315 GB, free: 9.379 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.4679, allocations: 27.8 kB / 1.315 GB, free: 9.352 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005925/0.4685, allocations: 203.6 kB / 1.315 GB, free: 9.145 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.4685, allocations: 3.938 kB / 1.315 GB, free: 9.141 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.4685, allocations: 4 kB / 1.315 GB, free: 9.137 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.4685, allocations: 3.984 kB / 1.315 GB, free: 9.133 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.4695, allocations: 0.5323 MB / 1.316 GB, free: 8.551 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4695, allocations: 4 kB / 1.316 GB, free: 8.547 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.475e-05/0.4696, allocations: 11.98 kB / 1.316 GB, free: 8.535 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.4696, allocations: 0 / 1.316 GB, free: 8.535 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.4696, allocations: 4 kB / 1.316 GB, free: 8.531 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4696, allocations: 0 / 1.316 GB, free: 8.531 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4696, allocations: 0 / 1.316 GB, free: 8.531 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005183/0.4701, allocations: 306 kB / 1.316 GB, free: 8.219 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.4702, allocations: 35.83 kB / 1.316 GB, free: 8.184 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.4702, allocations: 0 / 1.316 GB, free: 8.184 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.4704, allocations: 15.98 kB / 1.316 GB, free: 8.168 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.158e-05/0.4705, allocations: 23.91 kB / 1.316 GB, free: 8.145 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.4705, allocations: 8 kB / 1.316 GB, free: 8.137 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0002284/0.4707, allocations: 209.1 kB / 1.316 GB, free: 7.934 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.4707, allocations: 0 / 1.316 GB, free: 7.934 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.000365/0.4711, allocations: 51.94 kB / 1.316 GB, free: 7.883 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: 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.001592/0.4727, allocations: 417.9 kB / 1.317 GB, free: 7.629 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0005508/0.4732, allocations: 171.8 kB / 1.317 GB, free: 7.461 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4732, allocations: 0 / 1.317 GB, free: 7.461 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.4734, allocations: 71.89 kB / 1.317 GB, free: 7.391 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.4739, allocations: 52.38 kB / 1.317 GB, free: 7.344 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008702/0.4747, allocations: 412.2 kB / 1.317 GB, free: 6.914 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.4752, allocations: 0.7558 MB / 1.318 GB, free: 6.133 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001177/0.4753, allocations: 37.92 kB / 1.318 GB, free: 6.098 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.711e-05/0.4754, allocations: 27.38 kB / 1.318 GB, free: 6.074 MB / 1.014 GB
Notification: Performance of SimCode: time 7.52e-07/0.4754, allocations: 0 / 1.318 GB, free: 6.074 MB / 1.014 GB
Notification: Performance of Templates: time 0.008041/0.4834, allocations: 3.101 MB / 1.321 GB, free: 2.996 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.958881649188697]