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.649/2.649, allocations: 251.1 MB / 266.1 MB, free: 11.54 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.001578/0.001578, allocations: 184.3 kB / 325.6 MB, free: 2.793 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.468/2.468, allocations: 205.4 MB / 0.5766 GB, free: 20.74 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.002463/0.002463, allocations: 103.6 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004593, allocations: 11.94 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2122, allocations: 106.3 MB / 0.8989 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002569/0.2148, allocations: 1.606 MB / 0.9005 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001876/0.2167, allocations: 0.8434 MB / 0.9013 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.2169, allocations: 8 kB / 0.9013 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003762/0.2173, allocations: 83.69 kB / 0.9014 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.2176, allocations: 75.77 kB / 0.9014 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004244/0.218, allocations: 97.38 kB / 0.9015 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.2183, allocations: 123.7 kB / 0.9017 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.2185, allocations: 45.78 kB / 0.9017 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.2187, allocations: 79.69 kB / 0.9018 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.2189, allocations: 75.61 kB / 0.9019 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.2189, allocations: 4 kB / 0.9019 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.219, allocations: 20 kB / 0.9019 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.205e-05/0.2191, allocations: 51.81 kB / 0.9019 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.997e-05/0.2192, allocations: 65.55 kB / 0.902 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.2195, allocations: 187.8 kB / 0.9022 GB, free: 62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.2195, allocations: 0 / 0.9022 GB, free: 62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.255e-06/0.2195, allocations: 8 kB / 0.9022 GB, free: 62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2195, allocations: 0 / 0.9022 GB, free: 62 MB / 0.6042 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.0009445/0.2205, allocations: 0.5023 MB / 0.9027 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.2205, allocations: 8.031 kB / 0.9027 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.225e-05/0.2206, allocations: 23.72 kB / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.221, allocations: 265.9 kB / 0.9029 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.2211, allocations: 16.17 kB / 0.903 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.2211, allocations: 12 kB / 0.903 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004418/0.2216, allocations: 137 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.2216, allocations: 0 / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.2216, allocations: 7.953 kB / 0.9031 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2216, allocations: 4 kB / 0.9031 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004483/0.2221, allocations: 108.4 kB / 0.9032 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009281/0.223, allocations: 0.5317 MB / 0.9037 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.2236, allocations: 130.7 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.2236, allocations: 4 kB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004326/0.224, allocations: 132.8 kB / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 3.307e-06/0.2241, allocations: 0 / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0009915/0.2251, allocations: 264.3 kB / 0.9042 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.2251, allocations: 51.41 kB / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.2256, allocations: 330.4 kB / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.2256, allocations: 37.7 kB / 0.9046 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.574e-05/0.2257, allocations: 132.6 kB / 0.9048 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.2258, allocations: 43.44 kB / 0.9048 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/0.2258, allocations: 8 kB / 0.9048 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.2259, allocations: 334.8 kB / 0.9051 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003822/0.2263, allocations: 91.89 kB / 0.9052 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.2267, allocations: 142 kB / 0.9054 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.227, allocations: 99.16 kB / 0.9055 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/0.227, allocations: 0 / 0.9055 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008789/0.2279, allocations: 297.3 kB / 0.9057 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.228, allocations: 4 kB / 0.9057 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.228, allocations: 11.92 kB / 0.9058 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.228, allocations: 4 kB / 0.9058 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.2284, allocations: 43.92 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.2284, allocations: 7.984 kB / 0.9058 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.2287, allocations: 31.92 kB / 0.9058 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/0.2288, allocations: 15.98 kB / 0.9059 GB, free: 57.98 MB / 0.6042 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.0002023/0.229, allocations: 167.5 kB / 0.906 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.229, allocations: 19.72 kB / 0.906 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.133e-05/0.2291, allocations: 26.17 kB / 0.9061 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.2291, allocations: 4 kB / 0.9061 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.2291, allocations: 3.984 kB / 0.9061 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.2292, allocations: 4 kB / 0.9061 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.2303, allocations: 0.5528 MB / 0.9066 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.2303, allocations: 4 kB / 0.9066 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.2305, allocations: 19.97 kB / 0.9066 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.2305, allocations: 4 kB / 0.9066 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.2306, allocations: 0 / 0.9066 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.2306, allocations: 0 / 0.9066 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2306, allocations: 0 / 0.9066 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006839/0.2313, allocations: 311 kB / 0.9069 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.999e-05/0.2314, allocations: 108.8 kB / 0.907 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/0.2314, allocations: 4 kB / 0.907 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.2317, allocations: 23.92 kB / 0.9071 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.494e-05/0.2318, allocations: 15.97 kB / 0.9071 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.2318, allocations: 8 kB / 0.9071 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000265/0.2321, allocations: 204.4 kB / 0.9073 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2321, allocations: 0 / 0.9073 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004529/0.2326, allocations: 44 kB / 0.9073 GB, free: 56.38 MB / 0.6042 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 (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.001175/0.2338, allocations: 416.4 kB / 0.9077 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000807/0.2346, allocations: 203.7 kB / 0.9079 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.2346, allocations: 4 kB / 0.9079 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.2349, allocations: 68.28 kB / 0.908 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.2354, allocations: 49.33 kB / 0.908 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008744/0.2363, allocations: 422.9 kB / 0.9084 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.2366, allocations: 0.756 MB / 0.9092 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001734/0.2367, allocations: 29.94 kB / 0.9092 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.848e-05/0.2369, allocations: 27.42 kB / 0.9092 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of SimCode: time 1.072e-06/0.2369, allocations: 0 / 0.9092 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of Templates: time 0.008265/0.2451, allocations: 2.611 MB / 0.9118 GB, free: 51.95 MB / 0.6042 GB