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.001785/0.001784, allocations: 100.8 kB / 16.29 MB, free: 6.016 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.002501/0.002501, allocations: 184 kB / 17.22 MB, free: 5.625 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.613/1.613, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.914/1.914, allocations: 292.3 MB / 0.5495 GB, free: 17.6 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.001954/0.001955, allocations: 67.91 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3428, allocations: 114.6 MB / 0.7841 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.005063/0.348, allocations: 1.909 MB / 0.786 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002149/0.3502, allocations: 1.054 MB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.3503, allocations: 4 kB / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004662/0.3508, allocations: 91.56 kB / 0.7871 GB, free: 0.7695 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.000372/0.3512, allocations: 91.58 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.3517, allocations: 131.7 kB / 0.7873 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00043/0.3521, allocations: 215.4 kB / 0.7875 GB, free: 348 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002538/0.3524, allocations: 45.67 kB / 0.7875 GB, free: 300 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.3526, allocations: 99.55 kB / 0.7876 GB, free: 200 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.3528, allocations: 103.6 kB / 0.7877 GB, free: 96 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.583e-05/0.3528, allocations: 12 kB / 0.7877 GB, free: 84 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.353, allocations: 59.97 kB / 0.7878 GB, free: 24 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.6256/0.9786, allocations: 59.41 kB / 0.7879 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.9789, allocations: 93.72 kB / 0.7879 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005714/0.9794, allocations: 269.8 kB / 0.7882 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.9795, allocations: 0 / 0.7882 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.554e-06/0.9795, allocations: 0 / 0.7882 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.708e-05/0.9795, allocations: 0 / 0.7882 GB, free: 46.11 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.001014/0.9805, allocations: 0.5448 MB / 0.7887 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.9806, allocations: 14.23 kB / 0.7887 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.767e-05/0.9806, allocations: 24.75 kB / 0.7888 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.981, allocations: 284.1 kB / 0.789 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.981, allocations: 19.09 kB / 0.7891 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.9811, allocations: 7.875 kB / 0.7891 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.9814, allocations: 113.4 kB / 0.7892 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.9814, allocations: 0 / 0.7892 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.9814, allocations: 3.312 kB / 0.7892 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.9814, allocations: 3.188 kB / 0.7892 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002588/0.9817, allocations: 91.52 kB / 0.7893 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007102/0.9824, allocations: 450.8 kB / 0.7897 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.9828, allocations: 135.6 kB / 0.7898 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.9829, allocations: 58.45 kB / 0.7899 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/0.983, allocations: 3.938 kB / 0.7899 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002986/0.9833, allocations: 122.1 kB / 0.79 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.854e-06/0.9833, allocations: 1.094 kB / 0.79 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0006427/0.9839, allocations: 250.4 kB / 0.7902 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.984, allocations: 54.03 kB / 0.7903 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003706/0.9844, allocations: 332.6 kB / 0.7906 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.9844, allocations: 42.08 kB / 0.7907 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.525e-05/0.9845, allocations: 137.2 kB / 0.7908 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.9846, allocations: 43.98 kB / 0.7908 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.507e-05/0.9846, allocations: 58.78 kB / 0.7909 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.588e-05/0.9847, allocations: 334.1 kB / 0.7912 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.9849, allocations: 86.5 kB / 0.7913 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.9851, allocations: 139.7 kB / 0.7914 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.9854, allocations: 195.2 kB / 0.7916 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.9855, allocations: 2.625 kB / 0.7916 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004982/0.986, allocations: 287.2 kB / 0.7919 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.986, allocations: 5.75 kB / 0.7919 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.986, allocations: 2.688 kB / 0.7919 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.986, allocations: 6.625 kB / 0.7919 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.9862, allocations: 44.86 kB / 0.7919 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.9862, allocations: 3.281 kB / 0.7919 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.9864, allocations: 30.27 kB / 0.792 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.9864, allocations: 13.16 kB / 0.792 GB, free: 44.19 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.0001306/0.9866, allocations: 162 kB / 0.7921 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.9866, allocations: 19.78 kB / 0.7922 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.169e-05/0.9867, allocations: 29.8 kB / 0.7922 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.9867, allocations: 2.625 kB / 0.7922 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.9867, allocations: 0.9688 kB / 0.7922 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.9867, allocations: 0 / 0.7922 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006747/0.9874, allocations: 0.5547 MB / 0.7927 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.9874, allocations: 2.688 kB / 0.7927 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.822e-05/0.9875, allocations: 19.56 kB / 0.7927 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.9875, allocations: 0.5625 kB / 0.7927 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.9875, allocations: 0 / 0.7927 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.9875, allocations: 4.125 kB / 0.7928 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.9875, allocations: 1 kB / 0.7928 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00038/0.9879, allocations: 303.9 kB / 0.793 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.988, allocations: 102.4 kB / 0.7931 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.988, allocations: 3.562 kB / 0.7931 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.9881, allocations: 16.19 kB / 0.7932 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.657e-05/0.9882, allocations: 16.62 kB / 0.7932 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.9883, allocations: 6.969 kB / 0.7932 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001785/0.9884, allocations: 208.8 kB / 0.7934 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.062e-06/0.9884, allocations: 0 / 0.7934 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003262/0.9888, allocations: 58.67 kB / 0.7934 GB, free: 43.41 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.001089/0.9899, allocations: 421.5 kB / 0.7938 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000446/0.9903, allocations: 198.2 kB / 0.794 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9903, allocations: 0 / 0.794 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.9905, allocations: 71.06 kB / 0.7941 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.9909, allocations: 56.12 kB / 0.7941 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006165/0.9915, allocations: 401.5 kB / 0.7945 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.9917, allocations: 0.7527 MB / 0.7953 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.611e-05/0.9918, allocations: 31.94 kB / 0.7953 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.126e-05/0.9919, allocations: 28.88 kB / 0.7953 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.9919, allocations: 4 kB / 0.7953 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of Templates: time 0.007323/0.9992, allocations: 3.031 MB / 0.7983 GB, free: 42.23 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)