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.001155/0.001155, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001241/0.001241, allocations: 192.9 kB / 16.25 MB, free: 6.621 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.613/1.613, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.77/1.77, allocations: 292.2 MB / 0.5485 GB, free: 13.68 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.001533/0.001533, allocations: 75.58 kB / 0.671 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3266, allocations: 114.5 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004813/0.3314, allocations: 1.97 MB / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002227/0.3337, allocations: 1.031 MB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/0.3339, allocations: 7.938 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005699/0.3346, allocations: 83.75 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003662/0.335, allocations: 87.72 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000518/0.3355, allocations: 119.8 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003542/0.3359, allocations: 219.4 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.3361, allocations: 45.66 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.3363, allocations: 103.5 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.3365, allocations: 99.58 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.888e-05/0.3365, allocations: 16 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.3367, allocations: 59.97 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.3368, allocations: 59.77 kB / 0.7867 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.337, allocations: 95.39 kB / 0.7868 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004418/0.3375, allocations: 259.5 kB / 0.787 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.3375, allocations: 0 / 0.787 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.755e-06/0.3375, allocations: 0 / 0.787 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.3375, allocations: 4 kB / 0.787 GB, free: 9.645 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.001182/0.3387, allocations: 0.5413 MB / 0.7875 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.532e-05/0.3388, allocations: 12.03 kB / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.309e-05/0.3389, allocations: 28.64 kB / 0.7876 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/0.3393, allocations: 280 kB / 0.7878 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.3393, allocations: 15.92 kB / 0.7879 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.3393, allocations: 8 kB / 0.7879 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.3397, allocations: 118.4 kB / 0.788 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3397, allocations: 3.938 kB / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.3397, allocations: 8 kB / 0.788 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.3397, allocations: 0 / 0.788 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.34, allocations: 95.8 kB / 0.7881 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008102/0.3409, allocations: 452.6 kB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.3412, allocations: 138.5 kB / 0.7886 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.3414, allocations: 56.83 kB / 0.7887 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.3414, allocations: 0 / 0.7887 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003234/0.3418, allocations: 119.3 kB / 0.7888 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.3418, allocations: 0 / 0.7888 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006565/0.3424, allocations: 253.2 kB / 0.789 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.3425, allocations: 59.34 kB / 0.7891 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003651/0.3429, allocations: 326.5 kB / 0.7894 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.3429, allocations: 33.7 kB / 0.7894 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.343, allocations: 140.5 kB / 0.7896 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.3431, allocations: 43.44 kB / 0.7896 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.464e-05/0.3432, allocations: 53.7 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3433, allocations: 342.8 kB / 0.79 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.3435, allocations: 87.94 kB / 0.7901 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.3438, allocations: 134 kB / 0.7902 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/0.3442, allocations: 196.6 kB / 0.7904 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3442, allocations: 0 / 0.7904 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005364/0.3447, allocations: 285.1 kB / 0.7907 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.3447, allocations: 11.94 kB / 0.7907 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3448, allocations: 0 / 0.7907 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.3448, allocations: 4 kB / 0.7907 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.345, allocations: 39.91 kB / 0.7907 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.345, allocations: 8.125 kB / 0.7907 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.3452, allocations: 31.88 kB / 0.7908 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.3452, allocations: 19.92 kB / 0.7908 GB, free: 5.504 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.0001625/0.3454, allocations: 159.7 kB / 0.7909 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.3455, allocations: 31.66 kB / 0.791 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.917e-05/0.3455, allocations: 26.17 kB / 0.791 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3455, allocations: 0 / 0.791 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.3456, allocations: 0 / 0.791 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3456, allocations: 4 kB / 0.791 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000893/0.3465, allocations: 0.5489 MB / 0.7915 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3465, allocations: 4 kB / 0.7915 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.429e-05/0.3466, allocations: 11.98 kB / 0.7915 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3466, allocations: 0 / 0.7915 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.3466, allocations: 8 kB / 0.7916 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3466, allocations: 7.938 kB / 0.7916 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3466, allocations: 0 / 0.7916 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/0.3471, allocations: 293.7 kB / 0.7918 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.355e-05/0.3472, allocations: 104.8 kB / 0.7919 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.3472, allocations: 0 / 0.7919 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.3474, allocations: 23.92 kB / 0.792 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/0.3475, allocations: 19.97 kB / 0.792 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.3475, allocations: 4 kB / 0.792 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001956/0.3477, allocations: 210 kB / 0.7922 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3477, allocations: 0 / 0.7922 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003198/0.348, allocations: 47.98 kB / 0.7922 GB, free: 3.922 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.001034/0.3491, allocations: 424.7 kB / 0.7926 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004952/0.3496, allocations: 206.9 kB / 0.7928 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3496, allocations: 0 / 0.7928 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.3498, allocations: 75.88 kB / 0.7929 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.3502, allocations: 58.3 kB / 0.793 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007646/0.351, allocations: 456.5 kB / 0.7934 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.3513, allocations: 0.7557 MB / 0.7941 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.89e-05/0.3514, allocations: 33.94 kB / 0.7942 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.3515, allocations: 27.42 kB / 0.7942 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.3515, allocations: 0 / 0.7942 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of Templates: time 0.006801/0.3583, allocations: 2.956 MB / 0.7971 GB, free: 15.09 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (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)