Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.309/1.309, allocations: 252 MB / 267.9 MB, free: 10.89 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.0009841/0.0009843, allocations: 183.2 kB / 327.6 MB, free: 2.129 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.4 MB / 0.5785 GB, free: 20.44 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.0007458/0.0007453, allocations: 90.75 kB / 0.6831 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003321, allocations: 12.31 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1728, allocations: 106.3 MB / 0.9012 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.3199, allocations: 135.8 MB / 1.034 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.3201, allocations: 87.95 kB / 1.034 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0179/0.338, allocations: 6.905 MB / 1.041 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.375e-06/0.3381, allocations: 0 / 1.041 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.964e-05/0.3381, allocations: 11.94 kB / 1.041 GB, free: 0.9922 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.0007576/0.3389, allocations: 0.5271 MB / 1.041 GB, free: 424 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.3389, allocations: 8.031 kB / 1.041 GB, free: 416 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.472e-05/0.339, allocations: 24.66 kB / 1.041 GB, free: 392 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.3394, allocations: 294.9 kB / 1.042 GB, free: 56 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.3394, allocations: 16.56 kB / 1.042 GB, free: 40 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.3394, allocations: 12.38 kB / 1.042 GB, free: 28 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.3398, allocations: 154.9 kB / 1.042 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3398, allocations: 0 / 1.042 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.3398, allocations: 8 kB / 1.042 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3398, allocations: 0 / 1.042 GB, free: 15.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.3401, allocations: 103.9 kB / 1.042 GB, free: 15.76 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007803/0.3409, allocations: 0.5515 MB / 1.042 GB, free: 15.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.3412, allocations: 146.6 kB / 1.042 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.3414, allocations: 64.77 kB / 1.043 GB, free: 14.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.3414, allocations: 3.984 kB / 1.043 GB, free: 14.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002656/0.3417, allocations: 135.2 kB / 1.043 GB, free: 14.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.3417, allocations: 0 / 1.043 GB, free: 14.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0006124/0.3423, allocations: 268.4 kB / 1.043 GB, free: 14.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.3424, allocations: 55.41 kB / 1.043 GB, free: 14.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.3427, allocations: 326.5 kB / 1.043 GB, free: 14.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.3427, allocations: 33.7 kB / 1.043 GB, free: 14.08 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/0.3428, allocations: 132.5 kB / 1.043 GB, free: 13.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.3429, allocations: 39.55 kB / 1.044 GB, free: 13.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/0.3429, allocations: 11.94 kB / 1.044 GB, free: 13.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.343, allocations: 342.8 kB / 1.044 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.3432, allocations: 99.94 kB / 1.044 GB, free: 13.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.3435, allocations: 153.9 kB / 1.044 GB, free: 13.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.3439, allocations: 221.7 kB / 1.044 GB, free: 13.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3439, allocations: 0 / 1.044 GB, free: 13.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005766/0.3445, allocations: 320.7 kB / 1.045 GB, free: 12.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3445, allocations: 4 kB / 1.045 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3445, allocations: 4 kB / 1.045 GB, free: 12.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3445, allocations: 4 kB / 1.045 GB, free: 12.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.3448, allocations: 56.03 kB / 1.045 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3448, allocations: 4 kB / 1.045 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.3449, allocations: 31.77 kB / 1.045 GB, free: 12.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.345, allocations: 16 kB / 1.045 GB, free: 12.61 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.0001508/0.3451, allocations: 159.5 kB / 1.045 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.3452, allocations: 23.72 kB / 1.045 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004699/0.3457, allocations: 227.6 kB / 1.045 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3457, allocations: 3.938 kB / 1.045 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3457, allocations: 0 / 1.045 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3457, allocations: 0 / 1.045 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007962/0.3465, allocations: 0.5788 MB / 1.046 GB, free: 11.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3465, allocations: 0 / 1.046 GB, free: 11.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.079e-05/0.3466, allocations: 19.98 kB / 1.046 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3466, allocations: 4 kB / 1.046 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.3466, allocations: 4 kB / 1.046 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3466, allocations: 3.984 kB / 1.046 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3466, allocations: 0 / 1.046 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.3471, allocations: 311.1 kB / 1.046 GB, free: 11.21 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-05/0.3472, allocations: 112.8 kB / 1.046 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.3472, allocations: 0 / 1.046 GB, free: 11.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.3474, allocations: 19.98 kB / 1.046 GB, free: 11.06 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.3474, allocations: 23.97 kB / 1.046 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.3475, allocations: 4 kB / 1.046 GB, free: 11.03 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000197/0.3477, allocations: 208.4 kB / 1.046 GB, free: 10.83 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3477, allocations: 0 / 1.046 GB, free: 10.83 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003069/0.348, allocations: 55.91 kB / 1.046 GB, free: 10.77 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.000855/0.3488, allocations: 422.8 kB / 1.047 GB, free: 10.51 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000436/0.3493, allocations: 203.8 kB / 1.047 GB, free: 10.31 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3493, allocations: 0 / 1.047 GB, free: 10.31 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.3495, allocations: 85.44 kB / 1.047 GB, free: 10.23 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.3499, allocations: 65.28 kB / 1.047 GB, free: 10.17 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006528/0.3506, allocations: 446.1 kB / 1.048 GB, free: 9.711 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.3508, allocations: 0.7482 MB / 1.048 GB, free: 8.938 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.351, allocations: 33.92 kB / 1.048 GB, free: 8.906 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.351, allocations: 35.36 kB / 1.048 GB, free: 8.871 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.351, allocations: 3.938 kB / 1.048 GB, free: 8.867 MB / 0.698 GB Notification: Performance of Templates: time 0.005247/0.3563, allocations: 2.729 MB / 1.051 GB, free: 6.152 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)