Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.822/1.822, allocations: 287.5 MB / 302.6 MB, free: 8.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001466, allocations: 185.5 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 93.73 kB / 0.7432 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.000389, allocations: 16.25 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2246, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.001945/0.2266, allocations: 1.573 MB / 0.9802 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.228, allocations: 0.9738 MB / 0.9812 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.2282, allocations: 0 / 0.9812 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003015/0.2285, allocations: 91.64 kB / 0.9813 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.2287, allocations: 83.7 kB / 0.9813 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.2291, allocations: 105.6 kB / 0.9814 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.2293, allocations: 187.4 kB / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.2294, allocations: 41.67 kB / 0.9817 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.2296, allocations: 83.61 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.2297, allocations: 79.66 kB / 0.9818 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.2297, allocations: 11.94 kB / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.2298, allocations: 35.98 kB / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.861e-05/0.2299, allocations: 51.81 kB / 0.9819 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.2299, allocations: 61.56 kB / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.2301, allocations: 203.8 kB / 0.9822 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2301, allocations: 4 kB / 0.9822 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2302, allocations: 4 kB / 0.9822 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2302, allocations: 0 / 0.9822 GB, free: 24.57 MB / 0.6198 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.0006938/0.2309, allocations: 0.5103 MB / 0.9827 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.2309, allocations: 8.031 kB / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.806e-05/0.231, allocations: 24.66 kB / 0.9827 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.2313, allocations: 296 kB / 0.983 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.2313, allocations: 11.94 kB / 0.983 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.2313, allocations: 8 kB / 0.983 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.2316, allocations: 121.6 kB / 0.9831 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2316, allocations: 0 / 0.9831 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.2316, allocations: 7.984 kB / 0.9831 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2317, allocations: 4 kB / 0.9831 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.2319, allocations: 95.86 kB / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.2325, allocations: 460.5 kB / 0.9837 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.2328, allocations: 134.6 kB / 0.9838 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.2329, allocations: 64.83 kB / 0.9839 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.233, allocations: 0 / 0.9839 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002509/0.2332, allocations: 127.3 kB / 0.984 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.2332, allocations: 4 kB / 0.984 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0005514/0.2338, allocations: 262.6 kB / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.2338, allocations: 67.33 kB / 0.9843 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.2341, allocations: 326.5 kB / 0.9846 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.2341, allocations: 29.7 kB / 0.9846 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.2342, allocations: 136.5 kB / 0.9848 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.2342, allocations: 39.47 kB / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.2342, allocations: 4 kB / 0.9848 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.2343, allocations: 342.8 kB / 0.9851 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.2345, allocations: 99.88 kB / 0.9852 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.2347, allocations: 145.9 kB / 0.9854 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.235, allocations: 210 kB / 0.9856 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2351, allocations: 0 / 0.9856 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004983/0.2356, allocations: 293.3 kB / 0.9859 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2356, allocations: 13.64 kB / 0.9859 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2356, allocations: 4 kB / 0.9859 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.2356, allocations: 4 kB / 0.9859 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.2358, allocations: 43.91 kB / 0.9859 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.2358, allocations: 4 kB / 0.9859 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.236, allocations: 27.92 kB / 0.9859 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.236, allocations: 12 kB / 0.986 GB, free: 20.45 MB / 0.6198 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,$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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.2361, allocations: 159 kB / 0.9861 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.2362, allocations: 27.66 kB / 0.9861 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.2362, allocations: 26.17 kB / 0.9862 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2362, allocations: 3.984 kB / 0.9862 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2363, allocations: 0 / 0.9862 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2363, allocations: 7.984 kB / 0.9862 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006723/0.2369, allocations: 0.5567 MB / 0.9867 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.237, allocations: 4 kB / 0.9867 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.279e-05/0.2371, allocations: 23.92 kB / 0.9867 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.2371, allocations: 0 / 0.9867 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.2371, allocations: 8 kB / 0.9867 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.2371, allocations: 0 / 0.9867 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2371, allocations: 0 / 0.9867 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000384/0.2375, allocations: 300.6 kB / 0.987 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.2376, allocations: 104.8 kB / 0.9871 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.2376, allocations: 8 kB / 0.9871 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.2378, allocations: 19.97 kB / 0.9872 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.2378, allocations: 11.98 kB / 0.9872 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.2378, allocations: 8 kB / 0.9872 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001623/0.238, allocations: 217.9 kB / 0.9874 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.92e-07/0.238, allocations: 0 / 0.9874 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002752/0.2383, allocations: 51.83 kB / 0.9874 GB, free: 18.83 MB / 0.6198 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.0007924/0.2391, allocations: 419 kB / 0.9878 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004057/0.2395, allocations: 199.7 kB / 0.988 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2395, allocations: 4 kB / 0.988 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.2397, allocations: 71.95 kB / 0.9881 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.2401, allocations: 56.81 kB / 0.9882 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005827/0.2407, allocations: 444.8 kB / 0.9886 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.2409, allocations: 0.7521 MB / 0.9893 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001096/0.241, allocations: 25.95 kB / 0.9893 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.241, allocations: 23.42 kB / 0.9894 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of SimCode: time 3.51e-07/0.241, allocations: 0 / 0.9894 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of Templates: time 0.004862/0.2459, allocations: 2.775 MB / 0.9921 GB, free: 14.2 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)