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 2.819/2.819, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001553/0.001553, allocations: 191.9 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.526/2.526, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001585/0.001585, allocations: 89.12 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006938/0.0006943, allocations: 12.75 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2384, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002638/0.2411, allocations: 1.582 MB / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00219/0.2434, allocations: 0.9611 MB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002424/0.2437, allocations: 3.938 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.2441, allocations: 87.73 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.2445, allocations: 75.77 kB / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.245, allocations: 105.2 kB / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00027/0.2453, allocations: 135.7 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.2455, allocations: 37.84 kB / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.2457, allocations: 87.67 kB / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.2458, allocations: 83.59 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.2459, allocations: 4 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.2461, allocations: 39.92 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.612e-05/0.2462, allocations: 51.8 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.356e-05/0.2462, allocations: 57.58 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.2466, allocations: 195.8 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2466, allocations: 0 / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2466, allocations: 4 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.2466, allocations: 0 / 0.9816 GB, free: 24.85 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.001107/0.2477, allocations: 0.5101 MB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.2478, allocations: 12.02 kB / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.2479, allocations: 27.7 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.2483, allocations: 270.7 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.2484, allocations: 16.17 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.2484, allocations: 12 kB / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.2488, allocations: 119.1 kB / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.2489, allocations: 3.953 kB / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.2489, allocations: 11.98 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2489, allocations: 0 / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000445/0.2494, allocations: 96.48 kB / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009991/0.2504, allocations: 464.5 kB / 0.9831 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005037/0.2509, allocations: 134.6 kB / 0.9832 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.251, allocations: 0 / 0.9832 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004179/0.2514, allocations: 138.1 kB / 0.9834 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.645e-06/0.2514, allocations: 0 / 0.9834 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001035/0.2525, allocations: 265.2 kB / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.2525, allocations: 59.34 kB / 0.9837 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004921/0.253, allocations: 326.5 kB / 0.984 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.161e-05/0.2531, allocations: 33.7 kB / 0.984 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.2533, allocations: 140.7 kB / 0.9841 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.795e-05/0.2534, allocations: 43.55 kB / 0.9842 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.2535, allocations: 4 kB / 0.9842 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2536, allocations: 338.8 kB / 0.9845 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005995/0.2543, allocations: 87.94 kB / 0.9846 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006203/0.2549, allocations: 142 kB / 0.9847 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005867/0.2555, allocations: 97.28 kB / 0.9848 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.2556, allocations: 0 / 0.9848 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001389/0.257, allocations: 304.7 kB / 0.9851 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.947e-05/0.2571, allocations: 4 kB / 0.9851 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.2571, allocations: 4 kB / 0.9851 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.628e-05/0.2572, allocations: 0 / 0.9851 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000578/0.2578, allocations: 51.91 kB / 0.9852 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.2578, allocations: 0 / 0.9852 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006129/0.2585, allocations: 23.98 kB / 0.9852 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.321e-05/0.2586, allocations: 12.02 kB / 0.9852 GB, free: 20.94 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.0003909/0.259, allocations: 167 kB / 0.9854 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.2591, allocations: 27.72 kB / 0.9854 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.2593, allocations: 26.17 kB / 0.9854 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.2593, allocations: 0 / 0.9854 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.2593, allocations: 0 / 0.9854 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.2593, allocations: 4 kB / 0.9854 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.2615, allocations: 0.5607 MB / 0.986 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.2615, allocations: 0 / 0.986 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002748/0.2618, allocations: 15.98 kB / 0.986 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.2619, allocations: 4 kB / 0.986 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.98e-05/0.2619, allocations: 7.984 kB / 0.986 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.262, allocations: 0 / 0.986 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.262, allocations: 0 / 0.986 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.2633, allocations: 312 kB / 0.9863 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.2635, allocations: 104.8 kB / 0.9864 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.2637, allocations: 4 kB / 0.9864 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.2641, allocations: 19.98 kB / 0.9864 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.2642, allocations: 15.97 kB / 0.9864 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/0.2642, allocations: 4 kB / 0.9864 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004105/0.2646, allocations: 209.9 kB / 0.9866 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-07/0.2647, allocations: 11.88 kB / 0.9866 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001057/0.2658, allocations: 51.91 kB / 0.9867 GB, free: 19.32 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.002069/0.2679, allocations: 433.5 kB / 0.9871 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.2691, allocations: 191.8 kB / 0.9873 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.2692, allocations: 0 / 0.9873 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000458/0.2697, allocations: 75.89 kB / 0.9874 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007905/0.2705, allocations: 49.55 kB / 0.9874 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.272, allocations: 450.3 kB / 0.9878 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.2723, allocations: 0.756 MB / 0.9886 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002771/0.2726, allocations: 37.91 kB / 0.9886 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.2728, allocations: 27.42 kB / 0.9886 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of SimCode: time 3.006e-06/0.2728, allocations: 0 / 0.9886 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of Templates: time 0.01376/0.2866, allocations: 2.753 MB / 0.9913 GB, free: 14.69 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)