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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 194.8 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.883/1.883, allocations: 292.2 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002005, allocations: 65.62 kB / 0.6708 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2593, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003283/0.2627, allocations: 1.978 MB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.2643, allocations: 1.027 MB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.2644, allocations: 3.938 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003793/0.2648, allocations: 99.62 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.265, allocations: 75.73 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.2654, allocations: 127.5 kB / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000223/0.2656, allocations: 199.5 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.2658, allocations: 49.64 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.2659, allocations: 87.56 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.266, allocations: 95.59 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.2661, allocations: 8 kB / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.2662, allocations: 55.95 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.125e-05/0.2663, allocations: 55.77 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.225e-05/0.2664, allocations: 87.39 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.2666, allocations: 259.4 kB / 0.7868 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2667, allocations: 0 / 0.7868 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2667, allocations: 7.984 kB / 0.7868 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.2667, allocations: 0 / 0.7868 GB, free: 9.785 MB / 0.6075 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.0008829/0.2676, allocations: 0.5375 MB / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.2676, allocations: 8.031 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.527e-05/0.2677, allocations: 24.66 kB / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.268, allocations: 284 kB / 0.7876 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.2681, allocations: 11.94 kB / 0.7876 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.2681, allocations: 12 kB / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.2684, allocations: 119.3 kB / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2684, allocations: 3.938 kB / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.2684, allocations: 4 kB / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2684, allocations: 4 kB / 0.7877 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.2687, allocations: 91.8 kB / 0.7878 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006923/0.2694, allocations: 456.5 kB / 0.7883 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.2698, allocations: 138.6 kB / 0.7884 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.2699, allocations: 60.81 kB / 0.7885 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.27, allocations: 4 kB / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002707/0.2702, allocations: 115.3 kB / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.2703, allocations: 0 / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006316/0.2709, allocations: 255.6 kB / 0.7888 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.271, allocations: 59.34 kB / 0.7889 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.2713, allocations: 326.5 kB / 0.7892 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.2713, allocations: 33.7 kB / 0.7892 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.2714, allocations: 136.5 kB / 0.7893 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.2715, allocations: 47.44 kB / 0.7894 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.088e-05/0.2716, allocations: 57.69 kB / 0.7894 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.2717, allocations: 342.8 kB / 0.7898 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.2719, allocations: 87.89 kB / 0.7899 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.2721, allocations: 134 kB / 0.79 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003758/0.2725, allocations: 202.8 kB / 0.7902 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2725, allocations: 7.938 kB / 0.7902 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005255/0.273, allocations: 283.9 kB / 0.7905 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.2731, allocations: 7.938 kB / 0.7905 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2731, allocations: 0 / 0.7905 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.2731, allocations: 4 kB / 0.7905 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.2733, allocations: 44.09 kB / 0.7905 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2733, allocations: 8 kB / 0.7905 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.2735, allocations: 23.83 kB / 0.7905 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.2735, allocations: 12 kB / 0.7906 GB, free: 5.648 MB / 0.6075 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.0001449/0.2737, allocations: 163.7 kB / 0.7907 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.2737, allocations: 23.66 kB / 0.7907 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.2738, allocations: 26.12 kB / 0.7908 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2738, allocations: 7.984 kB / 0.7908 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2738, allocations: 4 kB / 0.7908 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2738, allocations: 0 / 0.7908 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007448/0.2745, allocations: 0.5412 MB / 0.7913 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2746, allocations: 0 / 0.7913 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.781e-05/0.2746, allocations: 19.92 kB / 0.7913 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.2747, allocations: 0 / 0.7913 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.2747, allocations: 8 kB / 0.7913 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2747, allocations: 0 / 0.7913 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.2747, allocations: 7.984 kB / 0.7913 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.2751, allocations: 290.2 kB / 0.7916 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.2752, allocations: 100.8 kB / 0.7917 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.2752, allocations: 4 kB / 0.7917 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.2754, allocations: 23.97 kB / 0.7917 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.2755, allocations: 19.92 kB / 0.7917 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.2755, allocations: 4 kB / 0.7918 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001875/0.2757, allocations: 205.9 kB / 0.7919 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2757, allocations: 0 / 0.7919 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003155/0.276, allocations: 48 kB / 0.792 GB, free: 4.074 MB / 0.6075 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.0008825/0.2769, allocations: 430.7 kB / 0.7924 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004601/0.2774, allocations: 187.7 kB / 0.7926 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2774, allocations: 0 / 0.7926 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.2776, allocations: 75.55 kB / 0.7927 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.278, allocations: 52.17 kB / 0.7927 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006346/0.2787, allocations: 458.3 kB / 0.7931 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.2789, allocations: 0.7521 MB / 0.7939 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.406e-05/0.279, allocations: 33.88 kB / 0.7939 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.308e-05/0.2791, allocations: 19.44 kB / 0.7939 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2791, allocations: 0 / 0.7939 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of Templates: time 0.005677/0.2848, allocations: 2.867 MB / 0.7967 GB, free: 15.35 MB / 0.6231 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)