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.527/2.527, allocations: 253.2 MB / 260.6 MB, free: 7.387 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001415/0.001415, allocations: 179.9 kB / 319.9 MB, free: 3.051 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.114/2.114, allocations: 205.6 MB / 0.5708 GB, free: 15.29 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.002189/0.002188, allocations: 93.64 kB / 0.6751 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.121e-05/2.128e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2015, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8957/1.097, allocations: 135.8 MB / 1.021 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/1.098, allocations: 82.38 kB / 1.021 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03032/1.128, allocations: 6.797 MB / 1.028 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.603e-06/1.128, allocations: 0 / 1.028 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.054e-05/1.128, allocations: 4 kB / 1.028 GB, free: 11.89 MB / 0.6511 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.0009692/1.129, allocations: 0.4924 MB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/1.129, allocations: 16.02 kB / 1.028 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/1.129, allocations: 27.72 kB / 1.029 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006106/1.13, allocations: 289.3 kB / 1.029 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/1.13, allocations: 4 kB / 1.029 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/1.13, allocations: 15.97 kB / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002138/1.13, allocations: 55.3 kB / 1.029 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/1.13, allocations: 120.1 kB / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/1.13, allocations: 0 / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/1.13, allocations: 3.938 kB / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/1.131, allocations: 4 kB / 1.029 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/1.132, allocations: 0.5139 MB / 1.029 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/1.132, allocations: 106.8 kB / 1.03 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/1.132, allocations: 42.17 kB / 1.03 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/1.132, allocations: 4 kB / 1.03 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000263/1.132, allocations: 105.7 kB / 1.03 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 2.945e-06/1.132, allocations: 0 / 1.03 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0004735/1.133, allocations: 164.3 kB / 1.03 GB, free: 10 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/1.133, allocations: 51.41 kB / 1.03 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004987/1.134, allocations: 289.1 kB / 1.03 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/1.134, allocations: 29.7 kB / 1.03 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/1.134, allocations: 146 kB / 1.03 GB, free: 9.555 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.68e-05/1.134, allocations: 38.91 kB / 1.03 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.959e-05/1.134, allocations: 0 / 1.03 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.134, allocations: 333.8 kB / 1.031 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/1.134, allocations: 73.55 kB / 1.031 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/1.134, allocations: 126 kB / 1.031 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/1.135, allocations: 90.77 kB / 1.031 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.135, allocations: 0 / 1.031 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006336/1.135, allocations: 251.9 kB / 1.031 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/1.135, allocations: 8 kB / 1.031 GB, free: 8.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/1.135, allocations: 0 / 1.031 GB, free: 8.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/1.135, allocations: 11.94 kB / 1.031 GB, free: 8.758 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/1.136, allocations: 43.48 kB / 1.031 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/1.136, allocations: 11.92 kB / 1.031 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/1.136, allocations: 23.83 kB / 1.031 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/1.136, allocations: 15.98 kB / 1.031 GB, free: 8.668 MB / 0.6511 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 () * 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.000153/1.136, allocations: 118.1 kB / 1.031 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/1.136, allocations: 23.72 kB / 1.031 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000487/1.137, allocations: 170.4 kB / 1.032 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/1.137, allocations: 7.953 kB / 1.032 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.137, allocations: 7.922 kB / 1.032 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/1.137, allocations: 0 / 1.032 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000949/1.138, allocations: 0.4952 MB / 1.032 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.138, allocations: 0 / 1.032 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/1.138, allocations: 23.05 kB / 1.032 GB, free: 7.887 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/1.138, allocations: 3.953 kB / 1.032 GB, free: 7.883 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/1.138, allocations: 3.984 kB / 1.032 GB, free: 7.879 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-05/1.138, allocations: 4 kB / 1.032 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/1.138, allocations: 3.984 kB / 1.032 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004613/1.139, allocations: 269 kB / 1.032 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/1.139, allocations: 104.1 kB / 1.033 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/1.139, allocations: 3.953 kB / 1.033 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/1.139, allocations: 15.98 kB / 1.033 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.589e-05/1.139, allocations: 19.53 kB / 1.033 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/1.139, allocations: 7.312 kB / 1.033 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002931/1.14, allocations: 192.2 kB / 1.033 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/1.14, allocations: 4 kB / 1.033 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005251/1.14, allocations: 51.38 kB / 1.033 GB, free: 7.262 MB / 0.6511 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) * 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.001128/1.141, allocations: 356.4 kB / 1.033 GB, free: 6.996 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004883/1.142, allocations: 157.3 kB / 1.033 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/1.142, allocations: 0 / 1.033 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/1.142, allocations: 57.8 kB / 1.033 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/1.143, allocations: 47.53 kB / 1.033 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008673/1.143, allocations: 288.3 kB / 1.034 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/1.144, allocations: 0.7589 MB / 1.034 GB, free: 5.762 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000224/1.144, allocations: 30.06 kB / 1.034 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/1.144, allocations: 26.86 kB / 1.034 GB, free: 5.707 MB / 0.6511 GB Notification: Performance of SimCode: time 1.252e-06/1.144, allocations: 0 / 1.034 GB, free: 5.707 MB / 0.6511 GB Notification: Performance of Templates: time 0.009835/1.154, allocations: 2.563 MB / 1.037 GB, free: 3.168 MB / 0.6511 GB