Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.441/2.441, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001564, allocations: 178 kB / 325.6 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.539/2.539, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 90.3 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006897/0.0006898, allocations: 13.12 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2583, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3075/0.5659, allocations: 135.6 MB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.5662, allocations: 87.89 kB / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03808/0.6043, allocations: 6.873 MB / 1.038 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6044, allocations: 0 / 1.038 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.577e-05/0.6044, allocations: 4 kB / 1.038 GB, free: 2.738 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.001219/0.6056, allocations: 0.5353 MB / 1.039 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.6057, allocations: 11.97 kB / 1.039 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.68e-05/0.6058, allocations: 27.66 kB / 1.039 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006082/0.6064, allocations: 289.7 kB / 1.039 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.6065, allocations: 8.188 kB / 1.039 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.6065, allocations: 11.98 kB / 1.039 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004866/0.607, allocations: 149 kB / 1.039 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.607, allocations: 0 / 1.039 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.6071, allocations: 4 kB / 1.039 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.6071, allocations: 4 kB / 1.039 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004908/0.6076, allocations: 104.5 kB / 1.039 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.6088, allocations: 0.5562 MB / 1.04 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005469/0.6094, allocations: 130.6 kB / 1.04 GB, free: 0.7578 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.6095, allocations: 3.984 kB / 1.04 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004425/0.6099, allocations: 131.3 kB / 1.04 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=16): time 2.605e-06/0.6099, allocations: 0 / 1.04 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of matching and sorting (n=16): time 0.001105/0.611, allocations: 267.8 kB / 1.04 GB, free: 356 kB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.6111, allocations: 59.34 kB / 1.04 GB, free: 284 kB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/0.6117, allocations: 297.9 kB / 1.041 GB, free: 15.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.6118, allocations: 37.7 kB / 1.041 GB, free: 15.94 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.6119, allocations: 144.4 kB / 1.041 GB, free: 15.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.559e-05/0.612, allocations: 39.55 kB / 1.041 GB, free: 15.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.612, allocations: 4 kB / 1.041 GB, free: 15.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.6122, allocations: 334.8 kB / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/0.6126, allocations: 99.94 kB / 1.041 GB, free: 15.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004621/0.6131, allocations: 154.3 kB / 1.041 GB, free: 15.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.6135, allocations: 111.1 kB / 1.041 GB, free: 15.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.6135, allocations: 4 kB / 1.041 GB, free: 15.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001066/0.6146, allocations: 317.2 kB / 1.042 GB, free: 14.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.6146, allocations: 11.95 kB / 1.042 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6146, allocations: 0 / 1.042 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.6147, allocations: 4 kB / 1.042 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003756/0.6151, allocations: 51.91 kB / 1.042 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.6151, allocations: 3.984 kB / 1.042 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.6154, allocations: 31.86 kB / 1.042 GB, free: 14.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/0.6154, allocations: 12 kB / 1.042 GB, free: 14.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.0002367/0.6157, allocations: 167.5 kB / 1.042 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.6158, allocations: 23.72 kB / 1.042 GB, free: 14.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008382/0.6166, allocations: 227.6 kB / 1.042 GB, free: 14.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.6166, allocations: 4 kB / 1.042 GB, free: 14.17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.6167, allocations: 3.938 kB / 1.042 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.6167, allocations: 3.984 kB / 1.042 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.618, allocations: 0.5667 MB / 1.043 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.618, allocations: 7.922 kB / 1.043 GB, free: 13.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.6182, allocations: 23.92 kB / 1.043 GB, free: 13.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.6182, allocations: 3.938 kB / 1.043 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.6183, allocations: 8 kB / 1.043 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.6183, allocations: 0 / 1.043 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.6183, allocations: 0 / 1.043 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000785/0.6191, allocations: 303.2 kB / 1.043 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.6192, allocations: 108.7 kB / 1.043 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.028e-05/0.6193, allocations: 8 kB / 1.043 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.6196, allocations: 19.97 kB / 1.043 GB, free: 13.03 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.02e-05/0.6197, allocations: 15.98 kB / 1.043 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.6197, allocations: 11.94 kB / 1.043 GB, free: 13 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003443/0.62, allocations: 204.4 kB / 1.044 GB, free: 12.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6201, allocations: 0 / 1.044 GB, free: 12.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004728/0.6205, allocations: 55.98 kB / 1.044 GB, free: 12.75 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.00134/0.6219, allocations: 433.5 kB / 1.044 GB, free: 12.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008497/0.6228, allocations: 208 kB / 1.044 GB, free: 12.28 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6228, allocations: 4.062 kB / 1.044 GB, free: 12.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003426/0.6231, allocations: 79.89 kB / 1.044 GB, free: 12.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.6236, allocations: 41.28 kB / 1.044 GB, free: 12.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.6247, allocations: 438.8 kB / 1.045 GB, free: 11.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.6252, allocations: 0.7559 MB / 1.045 GB, free: 10.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000195/0.6254, allocations: 41.91 kB / 1.046 GB, free: 10.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.6256, allocations: 27.44 kB / 1.046 GB, free: 10.85 MB / 0.698 GB Notification: Performance of SimCode: time 1.323e-06/0.6256, allocations: 0 / 1.046 GB, free: 10.85 MB / 0.698 GB Notification: Performance of Templates: time 0.009489/0.6351, allocations: 2.722 MB / 1.048 GB, free: 8.156 MB / 0.698 GB