Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.431/2.431, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001286/0.001286, allocations: 180.2 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.346/2.346, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000967/0.0009662, allocations: 101.9 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006683/0.0006686, allocations: 14.84 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2367, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2364/0.4731, allocations: 135.6 MB / 1.032 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/0.4735, allocations: 87.95 kB / 1.032 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.031/0.5045, allocations: 6.905 MB / 1.039 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5045, allocations: 0 / 1.039 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.828e-05/0.5046, allocations: 4 kB / 1.039 GB, free: 2.727 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001209/0.5058, allocations: 0.5341 MB / 1.039 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.5058, allocations: 8.031 kB / 1.039 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.161e-05/0.5059, allocations: 24.66 kB / 1.039 GB, free: 2.109 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006153/0.5066, allocations: 287.1 kB / 1.04 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.5066, allocations: 8.562 kB / 1.04 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.5067, allocations: 16.38 kB / 1.04 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.5072, allocations: 149.1 kB / 1.04 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.5072, allocations: 0 / 1.04 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.5072, allocations: 8 kB / 1.04 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.5073, allocations: 0 / 1.04 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/0.5078, allocations: 107.9 kB / 1.04 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.509, allocations: 0.5553 MB / 1.04 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005782/0.5096, allocations: 142.6 kB / 1.041 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.5099, allocations: 64.81 kB / 1.041 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.51, allocations: 3.938 kB / 1.041 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004634/0.5105, allocations: 127.3 kB / 1.041 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=16): time 3.757e-06/0.5105, allocations: 0 / 1.041 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of matching and sorting (n=16): time 0.00116/0.5117, allocations: 275.5 kB / 1.041 GB, free: 264 kB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.5117, allocations: 51.41 kB / 1.041 GB, free: 200 kB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006225/0.5124, allocations: 326.5 kB / 1.041 GB, free: 15.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/0.5124, allocations: 33.7 kB / 1.041 GB, free: 15.83 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.5126, allocations: 136.4 kB / 1.041 GB, free: 15.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.954e-05/0.5126, allocations: 43.53 kB / 1.042 GB, free: 15.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.5127, allocations: 4 kB / 1.042 GB, free: 15.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.5128, allocations: 342.8 kB / 1.042 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/0.5133, allocations: 99.94 kB / 1.042 GB, free: 15.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/0.5137, allocations: 153.9 kB / 1.042 GB, free: 15.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004153/0.5142, allocations: 99.97 kB / 1.042 GB, free: 14.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.381e-06/0.5142, allocations: 0 / 1.042 GB, free: 14.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001064/0.5153, allocations: 326.7 kB / 1.043 GB, free: 14.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.5153, allocations: 4 kB / 1.043 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.5153, allocations: 8.188 kB / 1.043 GB, free: 14.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.5154, allocations: 4 kB / 1.043 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.5158, allocations: 47.91 kB / 1.043 GB, free: 14.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.5158, allocations: 7.938 kB / 1.043 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.5161, allocations: 31.83 kB / 1.043 GB, free: 14.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/0.5162, allocations: 15.98 kB / 1.043 GB, free: 14.49 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.cha.y,$PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,cha.u_start) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002804/0.5165, allocations: 163.5 kB / 1.043 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/0.5165, allocations: 27.66 kB / 1.043 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008563/0.5174, allocations: 227.6 kB / 1.043 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.5174, allocations: 0 / 1.043 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.5174, allocations: 7.938 kB / 1.043 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.5175, allocations: 4 kB / 1.043 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.5188, allocations: 0.5624 MB / 1.044 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.5189, allocations: 11.88 kB / 1.044 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.5191, allocations: 19.98 kB / 1.044 GB, free: 13.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.5191, allocations: 0 / 1.044 GB, free: 13.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.5191, allocations: 7.984 kB / 1.044 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.5191, allocations: 0 / 1.044 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5191, allocations: 4 kB / 1.044 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008043/0.52, allocations: 301.2 kB / 1.044 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.5201, allocations: 112.7 kB / 1.044 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.609e-05/0.5201, allocations: 4 kB / 1.044 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.5204, allocations: 19.98 kB / 1.044 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.564e-05/0.5205, allocations: 27.91 kB / 1.044 GB, free: 12.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.5206, allocations: 4 kB / 1.044 GB, free: 12.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003462/0.5209, allocations: 204.4 kB / 1.044 GB, free: 12.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.61e-07/0.5209, allocations: 0 / 1.044 GB, free: 12.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004833/0.5214, allocations: 52 kB / 1.044 GB, free: 12.65 MB / 0.698 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 (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001316/0.5228, allocations: 436.8 kB / 1.045 GB, free: 12.38 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008705/0.5236, allocations: 203.7 kB / 1.045 GB, free: 12.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5237, allocations: 0 / 1.045 GB, free: 12.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003453/0.524, allocations: 88.27 kB / 1.045 GB, free: 12.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006303/0.5247, allocations: 50.5 kB / 1.045 GB, free: 12.04 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.5258, allocations: 444.8 kB / 1.045 GB, free: 11.58 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.5263, allocations: 0.7559 MB / 1.046 GB, free: 10.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001932/0.5265, allocations: 29.89 kB / 1.046 GB, free: 10.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.5266, allocations: 31.42 kB / 1.046 GB, free: 10.74 MB / 0.698 GB Notification: Performance of SimCode: time 1.573e-06/0.5267, allocations: 0 / 1.046 GB, free: 10.74 MB / 0.698 GB Notification: Performance of Templates: time 0.009766/0.5364, allocations: 2.717 MB / 1.049 GB, free: 8.039 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)