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.766/1.766, allocations: 292.3 MB / 308.1 MB, free: 4.293 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.001584/0.001584, allocations: 188.5 kB / 376.9 MB, free: 1.809 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.68/1.68, allocations: 205.1 MB / 0.6354 GB, free: 9.777 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.001169/0.001169, allocations: 97.98 kB / 0.748 GB, free: 61.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009954/0.0009956, allocations: 55.91 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2628, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003596/0.2665, allocations: 1.968 MB / 0.9842 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.2682, allocations: 1.046 MB / 0.9852 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.2684, allocations: 3.938 kB / 0.9852 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003868/0.2688, allocations: 91.73 kB / 0.9853 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.2691, allocations: 75.73 kB / 0.9853 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.2695, allocations: 123.7 kB / 0.9855 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003273/0.2698, allocations: 203.5 kB / 0.9857 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.27, allocations: 49.62 kB / 0.9857 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.2702, allocations: 87.64 kB / 0.9858 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.2703, allocations: 99.56 kB / 0.9859 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.2704, allocations: 8 kB / 0.9859 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.2705, allocations: 47.98 kB / 0.9859 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.334e-05/0.2706, allocations: 59.75 kB / 0.986 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.093e-05/0.2707, allocations: 83.41 kB / 0.9861 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.271, allocations: 259.4 kB / 0.9863 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.271, allocations: 0 / 0.9863 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.082e-06/0.271, allocations: 0 / 0.9863 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.271, allocations: 0 / 0.9863 GB, free: 6.156 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.0009506/0.272, allocations: 0.5491 MB / 0.9869 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.272, allocations: 8.031 kB / 0.9869 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.36e-05/0.2721, allocations: 28.64 kB / 0.9869 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.2725, allocations: 284 kB / 0.9872 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.2725, allocations: 15.92 kB / 0.9872 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.2725, allocations: 8 kB / 0.9872 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.2728, allocations: 116 kB / 0.9873 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.2728, allocations: 4 kB / 0.9873 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.2729, allocations: 8 kB / 0.9873 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.2729, allocations: 0 / 0.9873 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00028/0.2732, allocations: 91.8 kB / 0.9874 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006972/0.2739, allocations: 456.6 kB / 0.9878 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.2742, allocations: 134.6 kB / 0.988 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.2744, allocations: 56.83 kB / 0.988 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.2744, allocations: 4 kB / 0.988 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002827/0.2747, allocations: 123.2 kB / 0.9881 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.2747, allocations: 0 / 0.9881 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0006394/0.2754, allocations: 251.5 kB / 0.9884 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.2754, allocations: 59.34 kB / 0.9884 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/0.2758, allocations: 330.4 kB / 0.9887 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.2758, allocations: 33.7 kB / 0.9888 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.821e-05/0.2759, allocations: 144.4 kB / 0.9889 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.276, allocations: 39.55 kB / 0.9889 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-05/0.276, allocations: 53.7 kB / 0.989 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2762, allocations: 338.8 kB / 0.9893 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.2764, allocations: 91.94 kB / 0.9894 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.2766, allocations: 145.9 kB / 0.9896 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.277, allocations: 195.9 kB / 0.9897 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.277, allocations: 0 / 0.9897 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005554/0.2776, allocations: 281.1 kB / 0.99 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.2776, allocations: 11.94 kB / 0.99 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2776, allocations: 0 / 0.99 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2777, allocations: 4 kB / 0.99 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.2779, allocations: 43.91 kB / 0.9901 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2779, allocations: 4 kB / 0.9901 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.278, allocations: 32.06 kB / 0.9901 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.2781, allocations: 8 kB / 0.9901 GB, free: 2.016 MB / 0.7136 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,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 (31): * Single equations (assignments): 31 * 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.0001458/0.2782, allocations: 163 kB / 0.9903 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.2783, allocations: 27.66 kB / 0.9903 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.122e-05/0.2783, allocations: 26.17 kB / 0.9903 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2783, allocations: 0 / 0.9903 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2783, allocations: 0 / 0.9903 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2783, allocations: 3.938 kB / 0.9903 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000781/0.2791, allocations: 0.549 MB / 0.9909 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2791, allocations: 4 kB / 0.9909 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.551e-05/0.2792, allocations: 15.92 kB / 0.9909 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.2793, allocations: 0 / 0.9909 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.2793, allocations: 8 kB / 0.9909 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2793, allocations: 0 / 0.9909 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2793, allocations: 7.938 kB / 0.9909 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009166/0.2802, allocations: 0.9324 MB / 0.9918 GB, free: 168 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.947e-05/0.2803, allocations: 96.83 kB / 0.9919 GB, free: 52 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.2803, allocations: 7.938 kB / 0.9919 GB, free: 44 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.2805, allocations: 19.97 kB / 0.9919 GB, free: 24 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.2806, allocations: 19.92 kB / 0.9919 GB, free: 4 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.2806, allocations: 4 kB / 0.9919 GB, free: 0 / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002128/0.2808, allocations: 213.9 kB / 0.9921 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2808, allocations: 0 / 0.9921 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004092/0.2812, allocations: 55.84 kB / 0.9922 GB, free: 15.74 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) * 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.0009025/0.2821, allocations: 433.8 kB / 0.9926 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004729/0.2826, allocations: 179.8 kB / 0.9928 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2826, allocations: 0 / 0.9928 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.2828, allocations: 71.89 kB / 0.9928 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.2832, allocations: 48.89 kB / 0.9929 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00084/0.2841, allocations: 0.5867 MB / 0.9935 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.2845, allocations: 0.7598 MB / 0.9942 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001189/0.2846, allocations: 29.94 kB / 0.9942 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.468e-05/0.2846, allocations: 31.36 kB / 0.9943 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/0.2847, allocations: 0 / 0.9943 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of Templates: time 0.006181/0.2908, allocations: 2.955 MB / 0.9972 GB, free: 10.71 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)