Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.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_3.0.0_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.001316/0.001316, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 193.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.172/3.172, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001812, allocations: 60.19 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5281/0.5299, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004585/0.5346, allocations: 1.925 MB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002339/0.5369, allocations: 1.126 MB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002108/0.5372, allocations: 4 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000489/0.5377, allocations: 103.5 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003838/0.5381, allocations: 87.59 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005785/0.5387, allocations: 167.4 kB / 1.072 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003707/0.5391, allocations: 211.5 kB / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.5393, allocations: 41.66 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002374/0.5396, allocations: 99.61 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.5398, allocations: 107.5 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/0.5398, allocations: 12 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.54, allocations: 55.95 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.5402, allocations: 59.83 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.5403, allocations: 95.39 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004426/0.5408, allocations: 263.3 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.5408, allocations: 4 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5408, allocations: 0 / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.5408, allocations: 0 / 1.072 GB, free: 6.098 MB / 0.8262 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.001152/0.542, allocations: 0.5413 MB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.542, allocations: 8.031 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.091e-05/0.5421, allocations: 24.66 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.5426, allocations: 287.4 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.5426, allocations: 8 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.5426, allocations: 12 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.543, allocations: 114.5 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.543, allocations: 3.938 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.543, allocations: 15.88 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.543, allocations: 4 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.5434, allocations: 83.92 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008505/0.5442, allocations: 456.3 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.5446, allocations: 130.6 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.5448, allocations: 56.83 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.5448, allocations: 0 / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003079/0.5451, allocations: 123.3 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/0.5451, allocations: 0 / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0007201/0.5459, allocations: 259.1 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.5459, allocations: 51.41 kB / 1.075 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.5463, allocations: 334.5 kB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.5464, allocations: 29.7 kB / 1.075 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.5465, allocations: 136.4 kB / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/0.5465, allocations: 43.45 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.5466, allocations: 57.69 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.5468, allocations: 334.8 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.547, allocations: 83.95 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.5473, allocations: 137.6 kB / 1.076 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000414/0.5477, allocations: 183.7 kB / 1.076 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.5477, allocations: 7.875 kB / 1.076 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006219/0.5484, allocations: 280.5 kB / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.5484, allocations: 15.94 kB / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.5484, allocations: 3.984 kB / 1.076 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.5484, allocations: 4 kB / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.5486, allocations: 39.97 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.5487, allocations: 7.938 kB / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.5488, allocations: 19.89 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.5489, allocations: 12 kB / 1.076 GB, free: 2.004 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (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 (30): * Single equations (assignments): 30 * 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.0001847/0.5491, allocations: 161.8 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.5491, allocations: 27.66 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.185e-05/0.5492, allocations: 22.19 kB / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.5492, allocations: 0 / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.5492, allocations: 7.984 kB / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.5492, allocations: 0 / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000864/0.5501, allocations: 0.5528 MB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5501, allocations: 0 / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.106e-05/0.5502, allocations: 15.98 kB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.5502, allocations: 4 kB / 1.077 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.5502, allocations: 0 / 1.077 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.5502, allocations: 0 / 1.077 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5503, allocations: 7.922 kB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004948/0.5507, allocations: 300.8 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.99e-05/0.5508, allocations: 92.92 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.5509, allocations: 8 kB / 1.077 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.551, allocations: 15.97 kB / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.428e-05/0.5511, allocations: 15.92 kB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.5511, allocations: 12 kB / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000222/0.5514, allocations: 205.9 kB / 1.078 GB, free: 488 kB / 0.8262 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5514, allocations: 0 / 1.078 GB, free: 488 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003477/0.5517, allocations: 59.84 kB / 1.078 GB, free: 428 kB / 0.8262 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.001153/0.5529, allocations: 424.6 kB / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005553/0.5535, allocations: 179.9 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5535, allocations: 4.312 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.5537, allocations: 78.28 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.5542, allocations: 59.73 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008392/0.555, allocations: 400.2 kB / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.5554, allocations: 0.748 MB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001229/0.5555, allocations: 37.91 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.248e-05/0.5556, allocations: 27.44 kB / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.5556, allocations: 0 / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.007758/0.5634, allocations: 3.025 MB / 1.082 GB, free: 11.59 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)