Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.591/1.591, allocations: 297.8 MB / 313.7 MB, free: 156 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 184.2 kB / 384.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 0.6626 GB, free: 4.367 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007512/0.0007512, allocations: 90.22 kB / 0.7808 GB, free: 50.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004642/0.0004645, allocations: 16.58 kB / 0.9088 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.612/0.6125, allocations: 120.3 MB / 1.026 GB, free: 55.93 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1747/0.7873, allocations: 145.7 MB / 1.169 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.7876, allocations: 82.97 kB / 1.169 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01945/0.807, allocations: 7.227 MB / 1.176 GB, free: 9 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8071, allocations: 0 / 1.176 GB, free: 9 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.8071, allocations: 4 kB / 1.176 GB, free: 8.996 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.0007375/0.8079, allocations: 0.5331 MB / 1.176 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.8079, allocations: 12.03 kB / 1.176 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.808, allocations: 30.34 kB / 1.176 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.8084, allocations: 305 kB / 1.177 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.8084, allocations: 12.55 kB / 1.177 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.8084, allocations: 10.7 kB / 1.177 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.8087, allocations: 127.1 kB / 1.177 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.8087, allocations: 0 / 1.177 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.8087, allocations: 6.156 kB / 1.177 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.8088, allocations: 4 kB / 1.177 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002533/0.809, allocations: 97.7 kB / 1.177 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007642/0.8098, allocations: 497.5 kB / 1.177 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.8101, allocations: 140.6 kB / 1.177 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.8103, allocations: 66.56 kB / 1.177 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.8103, allocations: 4 kB / 1.177 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002689/0.8106, allocations: 127.1 kB / 1.178 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.8106, allocations: 0 / 1.178 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.000597/0.8112, allocations: 269.2 kB / 1.178 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.8112, allocations: 63.38 kB / 1.178 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.8116, allocations: 331.6 kB / 1.178 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.8116, allocations: 33.7 kB / 1.178 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.801e-05/0.8117, allocations: 136.6 kB / 1.178 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.8117, allocations: 35.45 kB / 1.178 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/0.8118, allocations: 8 kB / 1.178 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.8119, allocations: 338.8 kB / 1.179 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.8121, allocations: 103.9 kB / 1.179 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.8123, allocations: 159.2 kB / 1.179 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003725/0.8127, allocations: 223.3 kB / 1.179 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8127, allocations: 0 / 1.179 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005568/0.8133, allocations: 318.3 kB / 1.18 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.8133, allocations: 4 kB / 1.18 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.8133, allocations: 1.844 kB / 1.18 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.8133, allocations: 4 kB / 1.18 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.8135, allocations: 47.91 kB / 1.18 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.8136, allocations: 3.938 kB / 1.18 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.8137, allocations: 36 kB / 1.18 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.8138, allocations: 13.69 kB / 1.18 GB, free: 4.754 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 () * 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.0001331/0.8139, allocations: 156.4 kB / 1.18 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.8139, allocations: 23.72 kB / 1.18 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.8144, allocations: 229.1 kB / 1.18 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.8144, allocations: 4 kB / 1.18 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8144, allocations: 3.938 kB / 1.18 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.8144, allocations: 2.391 kB / 1.18 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007493/0.8152, allocations: 0.5822 MB / 1.181 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.8152, allocations: 7.875 kB / 1.181 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.805e-05/0.8153, allocations: 19.98 kB / 1.181 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.8153, allocations: 0 / 1.181 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.8153, allocations: 4 kB / 1.181 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.8153, allocations: 8.688 kB / 1.181 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.8153, allocations: 0 / 1.181 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/0.8158, allocations: 316.9 kB / 1.181 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.107e-05/0.8158, allocations: 112.7 kB / 1.181 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.8159, allocations: 8 kB / 1.181 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.816, allocations: 19.97 kB / 1.181 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.82e-05/0.8161, allocations: 11.98 kB / 1.181 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.8161, allocations: 7.984 kB / 1.181 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000212/0.8163, allocations: 210 kB / 1.181 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8164, allocations: 0 / 1.181 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003531/0.8167, allocations: 63.92 kB / 1.181 GB, free: 2.895 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) * Number of clocked states: 0 () * 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.001144/0.8179, allocations: 432.5 kB / 1.182 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004737/0.8184, allocations: 203.5 kB / 1.182 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8184, allocations: 0 / 1.182 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.8186, allocations: 83.8 kB / 1.182 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.819, allocations: 52.02 kB / 1.182 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007443/0.8197, allocations: 453.8 kB / 1.183 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.8201, allocations: 0.7482 MB / 1.183 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000112/0.8202, allocations: 37.75 kB / 1.183 GB, free: 1.098 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.36e-05/0.8202, allocations: 23.42 kB / 1.183 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of SimCode: time 1.763e-06/0.8203, allocations: 0 / 1.183 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of Templates: time 0.006121/0.8264, allocations: 2.887 MB / 1.186 GB, free: 14.29 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)