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.001105/0.001105, allocations: 99.28 kB / 16.27 MB, free: 6 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.001067/0.001068, allocations: 187 kB / 17.2 MB, free: 5.613 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.592/1.592, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.825/1.825, allocations: 292.3 MB / 0.5495 GB, free: 17.65 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.001434/0.001434, allocations: 75.89 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2764, allocations: 114.6 MB / 0.784 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003685/0.2801, allocations: 1.92 MB / 0.7859 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.282, allocations: 1.031 MB / 0.7869 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.2821, allocations: 7.938 kB / 0.7869 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.2825, allocations: 95.61 kB / 0.787 GB, free: 0.7734 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.2828, allocations: 91.53 kB / 0.7871 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.2832, allocations: 139.6 kB / 0.7872 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.2835, allocations: 215.4 kB / 0.7874 GB, free: 344 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.2837, allocations: 49.64 kB / 0.7875 GB, free: 292 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.2838, allocations: 99.61 kB / 0.7876 GB, free: 192 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.2839, allocations: 99.53 kB / 0.7877 GB, free: 92 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.284, allocations: 16 kB / 0.7877 GB, free: 76 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.2841, allocations: 59.97 kB / 0.7878 GB, free: 16 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.4404/0.7245, allocations: 51.66 kB / 0.7878 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.7248, allocations: 92.11 kB / 0.7879 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004747/0.7253, allocations: 261.9 kB / 0.7881 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.7253, allocations: 4.781 kB / 0.7881 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7253, allocations: 0.8438 kB / 0.7882 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.695e-05/0.7253, allocations: 3.344 kB / 0.7882 GB, free: 46.02 MB / 0.6544 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.0009364/0.7262, allocations: 0.5372 MB / 0.7887 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.7263, allocations: 11.25 kB / 0.7887 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.133e-05/0.7264, allocations: 26.77 kB / 0.7887 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.7267, allocations: 288.1 kB / 0.789 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.7267, allocations: 11.06 kB / 0.789 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.7268, allocations: 12.53 kB / 0.789 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.727, allocations: 115.8 kB / 0.7891 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.7271, allocations: 0 / 0.7891 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.7271, allocations: 2.5 kB / 0.7891 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.7271, allocations: 2.625 kB / 0.7891 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.7274, allocations: 98.25 kB / 0.7892 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000654/0.728, allocations: 455.4 kB / 0.7897 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003274/0.7284, allocations: 131.5 kB / 0.7898 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.7285, allocations: 56.19 kB / 0.7898 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.7286, allocations: 2.625 kB / 0.7898 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002751/0.7288, allocations: 123.4 kB / 0.79 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 2.284e-06/0.7289, allocations: 1.172 kB / 0.79 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0006048/0.7295, allocations: 249.1 kB / 0.7902 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.7295, allocations: 61.34 kB / 0.7903 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.7298, allocations: 335.3 kB / 0.7906 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.7299, allocations: 29.89 kB / 0.7906 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.81e-05/0.73, allocations: 136.9 kB / 0.7907 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.73, allocations: 46.84 kB / 0.7908 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.151e-05/0.7301, allocations: 61.14 kB / 0.7908 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.7302, allocations: 332.9 kB / 0.7912 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.7304, allocations: 81.62 kB / 0.7912 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.7306, allocations: 145.5 kB / 0.7914 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.7309, allocations: 192.3 kB / 0.7916 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.731, allocations: 3.375 kB / 0.7916 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004923/0.7314, allocations: 282.5 kB / 0.7918 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.7315, allocations: 5.25 kB / 0.7918 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.7315, allocations: 11.41 kB / 0.7918 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.7315, allocations: 6.562 kB / 0.7918 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.7317, allocations: 46.02 kB / 0.7919 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.7317, allocations: 2.625 kB / 0.7919 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.7319, allocations: 28.34 kB / 0.7919 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.7319, allocations: 12.81 kB / 0.7919 GB, free: 44.1 MB / 0.6544 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.0001337/0.7321, allocations: 163.2 kB / 0.7921 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.7321, allocations: 24.91 kB / 0.7921 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.7322, allocations: 29.23 kB / 0.7921 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.7322, allocations: 0 / 0.7921 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.7322, allocations: 2.656 kB / 0.7921 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.7322, allocations: 0.5312 kB / 0.7921 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006883/0.7329, allocations: 0.5564 MB / 0.7927 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.7329, allocations: 1.969 kB / 0.7927 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.006e-05/0.733, allocations: 12.83 kB / 0.7927 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.733, allocations: 0 / 0.7927 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.733, allocations: 6.891 kB / 0.7927 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.733, allocations: 3.469 kB / 0.7927 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.733, allocations: 1.781 kB / 0.7927 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.7334, allocations: 291.7 kB / 0.793 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.7335, allocations: 107.7 kB / 0.7931 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.7335, allocations: 7.281 kB / 0.7931 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.7337, allocations: 14 kB / 0.7931 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/0.7338, allocations: 18.06 kB / 0.7931 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.7338, allocations: 7.844 kB / 0.7931 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001639/0.734, allocations: 208.8 kB / 0.7933 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.734, allocations: 0 / 0.7933 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003125/0.7343, allocations: 47.05 kB / 0.7934 GB, free: 43.33 MB / 0.6544 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.0009973/0.7353, allocations: 423.7 kB / 0.7938 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004743/0.7358, allocations: 207.2 kB / 0.794 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7358, allocations: 0 / 0.794 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.736, allocations: 75.25 kB / 0.7941 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.7364, allocations: 48.36 kB / 0.7941 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006633/0.7371, allocations: 438.8 kB / 0.7945 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.7372, allocations: 0.7456 MB / 0.7952 GB, free: 42.28 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/0.7373, allocations: 28.16 kB / 0.7953 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of SimCode: time 5.11e-07/0.7373, allocations: 0 / 0.7953 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.00552/0.7429, allocations: 3.276 MB / 0.7985 GB, free: 42.05 MB / 0.6544 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)