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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.609/1.609, allocations: 289.7 MB / 302.3 MB, free: 2.156 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.001102/0.001102, allocations: 184 kB / 371.6 MB, free: 3.375 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.693/1.693, allocations: 205.1 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 94.62 kB / 0.745 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.109e-05/4.111e-05, allocations: 7.984 kB / 0.8663 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3282, allocations: 116.3 MB / 0.9798 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9922/1.32, allocations: 142.9 MB / 1.119 GB, free: 41.67 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/1.321, allocations: 80.02 kB / 1.119 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01838/1.339, allocations: 7.021 MB / 1.126 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.893e-06/1.339, allocations: 0 / 1.126 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.871e-05/1.339, allocations: 4 kB / 1.126 GB, free: 37.85 MB / 0.7448 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.0006585/1.34, allocations: 0.4886 MB / 1.127 GB, free: 37.37 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/1.34, allocations: 8.031 kB / 1.127 GB, free: 37.36 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.003e-05/1.34, allocations: 25.94 kB / 1.127 GB, free: 37.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/1.341, allocations: 297 kB / 1.127 GB, free: 37.06 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/1.341, allocations: 10.89 kB / 1.127 GB, free: 37.05 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/1.341, allocations: 14.81 kB / 1.127 GB, free: 37.05 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/1.341, allocations: 104.8 kB / 1.127 GB, free: 36.98 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/1.341, allocations: 0.875 kB / 1.127 GB, free: 36.98 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/1.341, allocations: 4 kB / 1.127 GB, free: 36.97 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/1.341, allocations: 0 / 1.127 GB, free: 36.97 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/1.341, allocations: 61.52 kB / 1.127 GB, free: 36.94 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007973/1.342, allocations: 488.1 kB / 1.128 GB, free: 36.55 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/1.342, allocations: 113.2 kB / 1.128 GB, free: 36.47 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.664e-05/1.342, allocations: 52.34 kB / 1.128 GB, free: 36.44 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/1.342, allocations: 3.938 kB / 1.128 GB, free: 36.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/1.342, allocations: 110.3 kB / 1.128 GB, free: 36.35 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/1.342, allocations: 0 / 1.128 GB, free: 36.35 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003172/1.343, allocations: 175.8 kB / 1.128 GB, free: 36.21 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/1.343, allocations: 55.41 kB / 1.128 GB, free: 36.15 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/1.343, allocations: 297.2 kB / 1.128 GB, free: 35.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/1.343, allocations: 36.89 kB / 1.129 GB, free: 35.89 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.073e-05/1.343, allocations: 146.3 kB / 1.129 GB, free: 35.79 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/1.343, allocations: 32.3 kB / 1.129 GB, free: 35.77 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.356e-05/1.343, allocations: 7.188 kB / 1.129 GB, free: 35.76 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.283e-05/1.343, allocations: 336.4 kB / 1.129 GB, free: 35.44 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/1.344, allocations: 73.73 kB / 1.129 GB, free: 35.4 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/1.344, allocations: 141.4 kB / 1.129 GB, free: 35.28 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/1.344, allocations: 87.48 kB / 1.129 GB, free: 35.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.344, allocations: 0 / 1.129 GB, free: 35.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003518/1.344, allocations: 281.4 kB / 1.13 GB, free: 35.03 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/1.344, allocations: 4 kB / 1.13 GB, free: 35.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/1.344, allocations: 4 kB / 1.13 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/1.344, allocations: 4.516 kB / 1.13 GB, free: 35.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/1.344, allocations: 50.56 kB / 1.13 GB, free: 34.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.344, allocations: 0.5469 kB / 1.13 GB, free: 34.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/1.345, allocations: 34.55 kB / 1.13 GB, free: 34.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/1.345, allocations: 15.69 kB / 1.13 GB, free: 34.95 MB / 0.7448 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 () * 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 8.123e-05/1.345, allocations: 127.5 kB / 1.13 GB, free: 34.83 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/1.345, allocations: 24.47 kB / 1.13 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/1.345, allocations: 184.3 kB / 1.13 GB, free: 34.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.345, allocations: 3.938 kB / 1.13 GB, free: 34.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.345, allocations: 7.469 kB / 1.13 GB, free: 34.67 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.345, allocations: 0 / 1.13 GB, free: 34.67 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/1.346, allocations: 0.5418 MB / 1.131 GB, free: 34.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.346, allocations: 0.875 kB / 1.131 GB, free: 34.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.406e-05/1.346, allocations: 23.34 kB / 1.131 GB, free: 34.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.346, allocations: 4.516 kB / 1.131 GB, free: 34.19 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/1.346, allocations: 10.95 kB / 1.131 GB, free: 34.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.346, allocations: 0 / 1.131 GB, free: 34.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.346, allocations: 1.062 kB / 1.131 GB, free: 34.19 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/1.346, allocations: 270.3 kB / 1.131 GB, free: 33.96 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.844e-05/1.346, allocations: 100.2 kB / 1.131 GB, free: 33.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/1.346, allocations: 7.953 kB / 1.131 GB, free: 33.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/1.346, allocations: 22.52 kB / 1.131 GB, free: 33.83 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/1.346, allocations: 22.48 kB / 1.131 GB, free: 33.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/1.346, allocations: 4 kB / 1.131 GB, free: 33.81 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000167/1.347, allocations: 210.1 kB / 1.131 GB, free: 33.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.347, allocations: 0 / 1.131 GB, free: 33.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003281/1.347, allocations: 69.55 kB / 1.131 GB, free: 33.6 MB / 0.7448 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.001015/1.348, allocations: 392.6 kB / 1.132 GB, free: 33.36 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002795/1.348, allocations: 165.5 kB / 1.132 GB, free: 33.25 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.348, allocations: 384 / 1.132 GB, free: 33.25 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.88e-05/1.348, allocations: 66.25 kB / 1.132 GB, free: 33.2 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/1.349, allocations: 44.88 kB / 1.132 GB, free: 33.18 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005527/1.349, allocations: 302.1 kB / 1.132 GB, free: 32.94 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/1.35, allocations: 0.7538 MB / 1.133 GB, free: 32.2 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.991e-05/1.35, allocations: 36.16 kB / 1.133 GB, free: 32.17 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.432e-05/1.35, allocations: 26.11 kB / 1.133 GB, free: 32.16 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/1.35, allocations: 0 / 1.133 GB, free: 32.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.005921/1.356, allocations: 2.868 MB / 1.136 GB, free: 30.49 MB / 0.7448 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)