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.586/1.586, allocations: 289.9 MB / 297.4 MB, free: 6.285 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.001123/0.001123, allocations: 184.8 kB / 366.7 MB, free: 1.621 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.813/1.813, allocations: 205.2 MB / 0.626 GB, free: 7.133 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.0008617/0.0008616, allocations: 90.88 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.872e-05, allocations: 8 kB / 0.8597 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7137/0.7138, allocations: 116.3 MB / 0.9733 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2003/0.9141, allocations: 142.2 MB / 1.112 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.9144, allocations: 76.67 kB / 1.112 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01969/0.9341, allocations: 6.967 MB / 1.119 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.243e-06/0.9341, allocations: 0 / 1.119 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.771e-05/0.9342, allocations: 12 kB / 1.119 GB, free: 0.9609 MB / 0.7136 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.0008754/0.9351, allocations: 0.4908 MB / 1.12 GB, free: 432 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.9351, allocations: 8.031 kB / 1.12 GB, free: 424 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.862e-05/0.9352, allocations: 31.56 kB / 1.12 GB, free: 396 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005507/0.9358, allocations: 290.7 kB / 1.12 GB, free: 64 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.9358, allocations: 11.98 kB / 1.12 GB, free: 52 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.9358, allocations: 12 kB / 1.12 GB, free: 40 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001599/0.936, allocations: 59.39 kB / 1.12 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.9363, allocations: 97.77 kB / 1.12 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.9363, allocations: 0 / 1.12 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.9363, allocations: 0 / 1.12 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.9363, allocations: 4 kB / 1.12 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008607/0.9372, allocations: 453.5 kB / 1.12 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.9374, allocations: 110.7 kB / 1.121 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.599e-05/0.9375, allocations: 37.08 kB / 1.121 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.9375, allocations: 3.938 kB / 1.121 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.9377, allocations: 109.3 kB / 1.121 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.704e-06/0.9377, allocations: 0 / 1.121 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0003452/0.9381, allocations: 161.3 kB / 1.121 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.9381, allocations: 59.41 kB / 1.121 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003746/0.9385, allocations: 294 kB / 1.121 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.9386, allocations: 25.7 kB / 1.121 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.9387, allocations: 140.5 kB / 1.121 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.9387, allocations: 35.59 kB / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/0.9387, allocations: 0 / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.9389, allocations: 338.8 kB / 1.122 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.939, allocations: 71.98 kB / 1.122 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.9392, allocations: 127 kB / 1.122 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.9394, allocations: 92.81 kB / 1.122 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.9394, allocations: 4 kB / 1.122 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004894/0.9399, allocations: 265.4 kB / 1.122 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.94, allocations: 8 kB / 1.122 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.94, allocations: 0 / 1.122 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.94, allocations: 4 kB / 1.122 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.9403, allocations: 43.91 kB / 1.122 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.9403, allocations: 7.953 kB / 1.122 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.9405, allocations: 28.09 kB / 1.122 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.9405, allocations: 16 kB / 1.122 GB, free: 13.37 MB / 0.7292 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 0.0001045/0.9406, allocations: 114.2 kB / 1.122 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.9407, allocations: 25.69 kB / 1.122 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.941, allocations: 173.5 kB / 1.123 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.941, allocations: 4 kB / 1.123 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.941, allocations: 4 kB / 1.123 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.941, allocations: 7.938 kB / 1.123 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006305/0.9417, allocations: 0.496 MB / 1.123 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.9417, allocations: 0 / 1.123 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.9418, allocations: 23.92 kB / 1.123 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.9418, allocations: 0 / 1.123 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.9418, allocations: 3.984 kB / 1.123 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.9418, allocations: 11.95 kB / 1.123 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.9418, allocations: 2.5 kB / 1.123 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.9421, allocations: 261.5 kB / 1.123 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.252e-05/0.9422, allocations: 96.91 kB / 1.124 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.9423, allocations: 8 kB / 1.124 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.9424, allocations: 11.98 kB / 1.124 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.9425, allocations: 27.92 kB / 1.124 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.9425, allocations: 4 kB / 1.124 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001823/0.9427, allocations: 202 kB / 1.124 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9427, allocations: 0 / 1.124 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003231/0.9431, allocations: 59.83 kB / 1.124 GB, free: 11.77 MB / 0.7292 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.000828/0.9439, allocations: 369.8 kB / 1.124 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002719/0.9442, allocations: 153.9 kB / 1.124 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9442, allocations: 0 / 1.124 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.9443, allocations: 52 kB / 1.124 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.9446, allocations: 47.25 kB / 1.124 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005778/0.9452, allocations: 302.3 kB / 1.125 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.9456, allocations: 0.7594 MB / 1.125 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.9457, allocations: 33.27 kB / 1.125 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.398e-05/0.9458, allocations: 27.44 kB / 1.125 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.9458, allocations: 0 / 1.125 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of Templates: time 0.006135/0.952, allocations: 2.683 MB / 1.128 GB, free: 7.508 MB / 0.7292 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)