Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.754/1.754, allocations: 288.4 MB / 303.4 MB, free: 8.062 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.001157/0.001157, allocations: 186.9 kB / 372 MB, free: 10.28 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.799/1.799, allocations: 205.4 MB / 0.6307 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007945/0.0007945, allocations: 90.36 kB / 0.7441 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005153/0.0005155, allocations: 15.78 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2795, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002552/0.2821, allocations: 1.586 MB / 0.9811 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.2837, allocations: 0.9727 MB / 0.9821 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.2839, allocations: 3.938 kB / 0.9821 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003747/0.2843, allocations: 79.77 kB / 0.9822 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.2845, allocations: 79.72 kB / 0.9823 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.2848, allocations: 118.2 kB / 0.9824 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.285, allocations: 183.5 kB / 0.9825 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.2852, allocations: 45.77 kB / 0.9826 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.2853, allocations: 75.64 kB / 0.9827 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.2855, allocations: 87.58 kB / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.2855, allocations: 4 kB / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.2856, allocations: 39.98 kB / 0.9828 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.356e-05/0.2857, allocations: 47.83 kB / 0.9828 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.173e-05/0.2857, allocations: 57.56 kB / 0.9829 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.286, allocations: 211.8 kB / 0.9831 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.286, allocations: 0 / 0.9831 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.783e-06/0.286, allocations: 0 / 0.9831 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.286, allocations: 0 / 0.9831 GB, free: 24.08 MB / 0.6198 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.0008306/0.2869, allocations: 0.5101 MB / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.2869, allocations: 12.03 kB / 0.9836 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.487e-05/0.287, allocations: 27.67 kB / 0.9836 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.2873, allocations: 274.7 kB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.2873, allocations: 12.19 kB / 0.9839 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.2874, allocations: 11.98 kB / 0.9839 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.2877, allocations: 120.6 kB / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2877, allocations: 3.938 kB / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.2877, allocations: 4 kB / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2877, allocations: 11.95 kB / 0.984 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002611/0.288, allocations: 96.48 kB / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006551/0.2886, allocations: 460.5 kB / 0.9846 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.289, allocations: 134.6 kB / 0.9847 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.2891, allocations: 60.83 kB / 0.9848 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.2892, allocations: 4 kB / 0.9848 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002898/0.2895, allocations: 135.2 kB / 0.9849 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.2895, allocations: 0 / 0.9849 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0006145/0.2901, allocations: 265.2 kB / 0.9851 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.2901, allocations: 59.33 kB / 0.9852 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.2904, allocations: 326.5 kB / 0.9855 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.2904, allocations: 33.7 kB / 0.9855 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.2905, allocations: 144.5 kB / 0.9857 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.2905, allocations: 35.55 kB / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/0.2906, allocations: 4 kB / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.738e-05/0.2906, allocations: 338.8 kB / 0.986 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.2908, allocations: 91.95 kB / 0.9861 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.291, allocations: 141.9 kB / 0.9863 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.2912, allocations: 98.97 kB / 0.9864 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2912, allocations: 0 / 0.9864 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004665/0.2917, allocations: 297.2 kB / 0.9866 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.2917, allocations: 4 kB / 0.9866 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.2918, allocations: 8 kB / 0.9867 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.2918, allocations: 4.172 kB / 0.9867 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.292, allocations: 51.92 kB / 0.9867 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.292, allocations: 7.922 kB / 0.9867 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.2921, allocations: 23.98 kB / 0.9867 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.2922, allocations: 8 kB / 0.9867 GB, free: 20.09 MB / 0.6198 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.0001309/0.2923, allocations: 167.8 kB / 0.9869 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.2923, allocations: 27.72 kB / 0.9869 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.978e-05/0.2924, allocations: 30.17 kB / 0.987 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.2924, allocations: 0 / 0.987 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2924, allocations: 0 / 0.987 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2924, allocations: 0 / 0.987 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006591/0.2931, allocations: 0.5662 MB / 0.9875 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2931, allocations: 0 / 0.9875 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.966e-05/0.2932, allocations: 15.98 kB / 0.9875 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.2932, allocations: 0 / 0.9875 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.2932, allocations: 4 kB / 0.9875 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2932, allocations: 0 / 0.9875 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2932, allocations: 0 / 0.9875 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.2936, allocations: 307.1 kB / 0.9878 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.2937, allocations: 100.8 kB / 0.9879 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.2937, allocations: 11.94 kB / 0.9879 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.2939, allocations: 19.98 kB / 0.988 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.154e-05/0.294, allocations: 19.91 kB / 0.988 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.294, allocations: 8 kB / 0.988 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001537/0.2941, allocations: 205.9 kB / 0.9882 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2941, allocations: 7.938 kB / 0.9882 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002733/0.2944, allocations: 47.91 kB / 0.9882 GB, free: 18.48 MB / 0.6198 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 (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.0009337/0.2954, allocations: 425 kB / 0.9886 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004303/0.2958, allocations: 191.8 kB / 0.9888 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2958, allocations: 384 / 0.9888 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.296, allocations: 83.89 kB / 0.9889 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.2964, allocations: 49.5 kB / 0.9889 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006191/0.297, allocations: 444.8 kB / 0.9894 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.2972, allocations: 0.7482 MB / 0.9901 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.011e-05/0.2973, allocations: 37.92 kB / 0.9901 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.2974, allocations: 27.42 kB / 0.9902 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2974, allocations: 0 / 0.9902 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of Templates: time 0.005481/0.3029, allocations: 2.756 MB / 0.9929 GB, free: 13.86 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)