Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007263/0.007263, allocations: 169 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.842/1.842, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005419/0.0005421, allocations: 18.09 kB / 0.6743 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3541, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002548/0.3567, allocations: 1.62 MB / 0.7895 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.3585, allocations: 1.011 MB / 0.7905 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.3587, allocations: 3.938 kB / 0.7905 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004353/0.3591, allocations: 91.73 kB / 0.7906 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.3593, allocations: 79.73 kB / 0.7906 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004141/0.3598, allocations: 119.7 kB / 0.7907 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.3601, allocations: 207.4 kB / 0.7909 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.3603, allocations: 45.66 kB / 0.791 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.3604, allocations: 83.56 kB / 0.7911 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.3606, allocations: 91.59 kB / 0.7912 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.3606, allocations: 4 kB / 0.7912 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.3608, allocations: 47.97 kB / 0.7912 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.981e-05/0.3609, allocations: 51.81 kB / 0.7913 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.361, allocations: 113.1 kB / 0.7914 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.3613, allocations: 251.4 kB / 0.7916 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3613, allocations: 0 / 0.7916 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.023e-06/0.3613, allocations: 4 kB / 0.7916 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3613, allocations: 0 / 0.7916 GB, free: 7.734 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0009849/0.3623, allocations: 0.5024 MB / 0.7921 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3624, allocations: 12.03 kB / 0.7921 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.006e-05/0.3624, allocations: 24.66 kB / 0.7921 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.3628, allocations: 284 kB / 0.7924 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.3629, allocations: 11.94 kB / 0.7924 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.3629, allocations: 15.98 kB / 0.7924 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.3632, allocations: 120.1 kB / 0.7925 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3632, allocations: 3.984 kB / 0.7925 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.3632, allocations: 4 kB / 0.7926 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.3633, allocations: 4 kB / 0.7926 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.3635, allocations: 103.8 kB / 0.7927 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007804/0.3643, allocations: 456.6 kB / 0.7931 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003389/0.3647, allocations: 146.5 kB / 0.7932 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.3649, allocations: 60.83 kB / 0.7933 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.3649, allocations: 0 / 0.7933 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002935/0.3652, allocations: 127.3 kB / 0.7934 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.3652, allocations: 0 / 0.7934 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006587/0.3659, allocations: 261.2 kB / 0.7937 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.3659, allocations: 71.31 kB / 0.7937 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.3663, allocations: 326.5 kB / 0.794 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.3664, allocations: 37.64 kB / 0.7941 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.3665, allocations: 132.5 kB / 0.7942 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.3665, allocations: 43.45 kB / 0.7942 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/0.3666, allocations: 37.69 kB / 0.7943 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.3668, allocations: 338.8 kB / 0.7946 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.367, allocations: 87.95 kB / 0.7947 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.3673, allocations: 142 kB / 0.7948 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004082/0.3677, allocations: 209 kB / 0.795 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3677, allocations: 0 / 0.795 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005838/0.3683, allocations: 297.1 kB / 0.7953 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.3684, allocations: 11.94 kB / 0.7953 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3684, allocations: 0 / 0.7953 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3684, allocations: 4 kB / 0.7953 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.3686, allocations: 43.91 kB / 0.7954 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.3686, allocations: 4.188 kB / 0.7954 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.3688, allocations: 27.89 kB / 0.7954 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.3688, allocations: 16 kB / 0.7954 GB, free: 3.578 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.cha.y,decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001726/0.369, allocations: 163 kB / 0.7956 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.3691, allocations: 31.58 kB / 0.7956 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.207e-05/0.3691, allocations: 26.19 kB / 0.7956 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3691, allocations: 4 kB / 0.7956 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.3691, allocations: 4 kB / 0.7956 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3692, allocations: 7.922 kB / 0.7956 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008818/0.37, allocations: 0.5594 MB / 0.7962 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3701, allocations: 4 kB / 0.7962 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.895e-05/0.3702, allocations: 23.92 kB / 0.7962 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3702, allocations: 0 / 0.7962 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.3702, allocations: 4 kB / 0.7962 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3702, allocations: 0 / 0.7962 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3702, allocations: 0 / 0.7962 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005411/0.3707, allocations: 303.2 kB / 0.7965 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.145e-05/0.3708, allocations: 100.8 kB / 0.7966 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.3709, allocations: 8 kB / 0.7966 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.3711, allocations: 19.97 kB / 0.7966 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/0.3711, allocations: 15.98 kB / 0.7966 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.3712, allocations: 8 kB / 0.7966 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002263/0.3714, allocations: 213.9 kB / 0.7968 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3714, allocations: 0 / 0.7968 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003474/0.3718, allocations: 47.91 kB / 0.7969 GB, free: 1.957 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001104/0.3729, allocations: 432.8 kB / 0.7973 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000496/0.3734, allocations: 199.7 kB / 0.7975 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3734, allocations: 0 / 0.7975 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.3736, allocations: 84.27 kB / 0.7976 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.374, allocations: 43.81 kB / 0.7976 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008861/0.3749, allocations: 464.4 kB / 0.7981 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.3754, allocations: 0.7521 MB / 0.7988 GB, free: 120 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001159/0.3755, allocations: 33.92 kB / 0.7988 GB, free: 80 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.626e-05/0.3756, allocations: 31.42 kB / 0.7989 GB, free: 48 kB / 0.6075 GB Notification: Performance of SimCode: time 7.91e-07/0.3756, allocations: 0 / 0.7989 GB, free: 48 kB / 0.6075 GB Notification: Performance of Templates: time 0.007638/0.3833, allocations: 2.823 MB / 0.8016 GB, free: 13.24 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) Environment - environmentSimulation: