Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.372/1.372, allocations: 251.5 MB / 266.7 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009751/0.0009752, allocations: 176.2 kB / 325.8 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205 MB / 0.576 GB, free: 20.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006926/0.0006927, allocations: 78.36 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003074, allocations: 12.53 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1744, allocations: 105.4 MB / 0.8962 GB, free: 68.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002304/0.1768, allocations: 1.681 MB / 0.8979 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1782, allocations: 0.905 MB / 0.8987 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.1784, allocations: 4 kB / 0.8987 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.1788, allocations: 91.67 kB / 0.8988 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.1791, allocations: 83.73 kB / 0.8989 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.1794, allocations: 103.8 kB / 0.899 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.1797, allocations: 195.5 kB / 0.8992 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.1798, allocations: 49.64 kB / 0.8992 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.18, allocations: 79.56 kB / 0.8993 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1801, allocations: 87.61 kB / 0.8994 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.1801, allocations: 4 kB / 0.8994 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.1803, allocations: 35.97 kB / 0.8994 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.1803, allocations: 51.77 kB / 0.8995 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.086e-05/0.1804, allocations: 79.42 kB / 0.8996 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.1806, allocations: 231.2 kB / 0.8998 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1807, allocations: 0 / 0.8998 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.764e-06/0.1807, allocations: 0 / 0.8998 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.1807, allocations: 4 kB / 0.8998 GB, free: 64.34 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006945/0.1814, allocations: 0.4987 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1814, allocations: 8.031 kB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.578e-05/0.1815, allocations: 46.73 kB / 0.9003 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.259e-05/0.1815, allocations: 24.66 kB / 0.9004 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.1818, allocations: 275 kB / 0.9006 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.1819, allocations: 19.94 kB / 0.9006 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.1819, allocations: 8 kB / 0.9006 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.1822, allocations: 146.3 kB / 0.9008 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1822, allocations: 0 / 0.9008 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.1822, allocations: 4 kB / 0.9008 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1822, allocations: 7.875 kB / 0.9008 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002569/0.1825, allocations: 99.92 kB / 0.9009 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006187/0.1831, allocations: 0.5358 MB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.1834, allocations: 134.6 kB / 0.9015 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.1836, allocations: 60.83 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.1836, allocations: 4 kB / 0.9016 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002816/0.1839, allocations: 139.2 kB / 0.9017 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.1839, allocations: 0 / 0.9017 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0005777/0.1845, allocations: 262.4 kB / 0.902 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.1846, allocations: 63.39 kB / 0.902 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.1848, allocations: 318.5 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1849, allocations: 33.7 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/0.1849, allocations: 140.5 kB / 0.9025 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.185, allocations: 39.48 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.185, allocations: 33.7 kB / 0.9026 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.055e-05/0.1851, allocations: 338.8 kB / 0.9029 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.1853, allocations: 95.94 kB / 0.903 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.1855, allocations: 145.9 kB / 0.9031 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.1858, allocations: 201.9 kB / 0.9033 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1858, allocations: 0 / 0.9033 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004852/0.1863, allocations: 308.8 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1863, allocations: 4 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1863, allocations: 7.984 kB / 0.9036 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1864, allocations: 3.984 kB / 0.9036 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.1865, allocations: 47.91 kB / 0.9037 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.1866, allocations: 7.984 kB / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.1867, allocations: 31.92 kB / 0.9037 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.1867, allocations: 12 kB / 0.9037 GB, free: 60.01 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.cha.y,decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,cha.u_start,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 (32): * Single equations (assignments): 32 * 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.0001101/0.1869, allocations: 155.5 kB / 0.9039 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.1869, allocations: 27.66 kB / 0.9039 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/0.1869, allocations: 26.17 kB / 0.9039 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.187, allocations: 0 / 0.9039 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.187, allocations: 0 / 0.9039 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.187, allocations: 8 kB / 0.9039 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006293/0.1876, allocations: 0.5567 MB / 0.9045 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1876, allocations: 7.922 kB / 0.9045 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.999e-05/0.1877, allocations: 19.98 kB / 0.9045 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1877, allocations: 4 kB / 0.9045 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1877, allocations: 4 kB / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1877, allocations: 0 / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1878, allocations: 0 / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.1881, allocations: 309.7 kB / 0.9048 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.1882, allocations: 108.8 kB / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.1882, allocations: 4 kB / 0.9049 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.1884, allocations: 19.98 kB / 0.9049 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.1884, allocations: 15.97 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.1885, allocations: 12 kB / 0.905 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001432/0.1886, allocations: 196.5 kB / 0.9052 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1886, allocations: 4 kB / 0.9052 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000281/0.1889, allocations: 43.98 kB / 0.9052 GB, free: 58.41 MB / 0.6042 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.001341/0.1903, allocations: 1.145 MB / 0.9063 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004018/0.1907, allocations: 207.8 kB / 0.9065 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1907, allocations: 0 / 0.9065 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.1908, allocations: 75.78 kB / 0.9066 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.1912, allocations: 61.42 kB / 0.9067 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.1938, allocations: 2.63 MB / 0.9092 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.194, allocations: 0.7557 MB / 0.91 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001153/0.1941, allocations: 29.94 kB / 0.91 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.618e-05/0.1942, allocations: 75.34 kB / 0.9101 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of SimCode: time 9.92e-07/0.1943, allocations: 0 / 0.9101 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.2199, allocations: 4.675 MB / 0.9146 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001396/0.2201, allocations: 263.4 kB / 0.9149 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.087, allocations: 0 / 0.9149 GB, free: 48.62 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)