Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 1.48/1.48, allocations: 287.4 MB / 302.6 MB, free: 8.301 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.0008816/0.0008817, allocations: 181.6 kB / 371.1 MB, free: 10.82 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.236/1.236, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007253/0.0007254, allocations: 106.5 kB / 0.7431 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003717, allocations: 11 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1725, allocations: 115.3 MB / 0.9788 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.001932/0.1745, allocations: 1.573 MB / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1759, allocations: 0.97 MB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.176, allocations: 7.938 kB / 0.9812 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.1764, allocations: 91.73 kB / 0.9813 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.1766, allocations: 67.73 kB / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.177, allocations: 105.1 kB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.1773, allocations: 191.4 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.1775, allocations: 49.94 kB / 0.9817 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.1776, allocations: 75.62 kB / 0.9818 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.1778, allocations: 87.59 kB / 0.9819 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.1778, allocations: 4 kB / 0.9819 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.178, allocations: 51.95 kB / 0.9819 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.835e-05/0.178, allocations: 55.7 kB / 0.982 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.406e-05/0.1781, allocations: 53.58 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.1783, allocations: 199.5 kB / 0.9822 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1783, allocations: 4 kB / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.804e-06/0.1783, allocations: 0 / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.1783, allocations: 0 / 0.9822 GB, free: 24.46 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.0007434/0.1791, allocations: 0.518 MB / 0.9827 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1791, allocations: 8.031 kB / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.918e-05/0.1792, allocations: 42.75 kB / 0.9828 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.1792, allocations: 24.66 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.1795, allocations: 291.8 kB / 0.9831 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.1796, allocations: 8 kB / 0.9831 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.1796, allocations: 11.98 kB / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.1798, allocations: 117.6 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1799, allocations: 0 / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.1799, allocations: 8 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1799, allocations: 11.88 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002413/0.1801, allocations: 91.92 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006684/0.1808, allocations: 460.5 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.1811, allocations: 134.6 kB / 0.9839 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.1812, allocations: 64.83 kB / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.1813, allocations: 0 / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.1815, allocations: 131.3 kB / 0.9841 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.1815, allocations: 0 / 0.9841 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0005698/0.1821, allocations: 266.9 kB / 0.9843 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.1822, allocations: 55.39 kB / 0.9844 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.1824, allocations: 326.5 kB / 0.9847 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.1824, allocations: 33.7 kB / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.1825, allocations: 140.5 kB / 0.9849 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.1825, allocations: 43.44 kB / 0.9849 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.1826, allocations: 8 kB / 0.9849 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.173e-05/0.1826, allocations: 334.8 kB / 0.9852 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.1828, allocations: 91.95 kB / 0.9853 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.183, allocations: 145.9 kB / 0.9855 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.1833, allocations: 204.9 kB / 0.9857 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1833, allocations: 4 kB / 0.9857 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004599/0.1838, allocations: 301.2 kB / 0.986 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1838, allocations: 11.88 kB / 0.986 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1838, allocations: 0 / 0.986 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1838, allocations: 4 kB / 0.986 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.184, allocations: 39.97 kB / 0.986 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.184, allocations: 11.88 kB / 0.986 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.1842, allocations: 31.92 kB / 0.986 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.1842, allocations: 12 kB / 0.9861 GB, free: 20.29 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.0001069/0.1843, allocations: 160.3 kB / 0.9862 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.1844, allocations: 27.64 kB / 0.9862 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/0.1844, allocations: 26.19 kB / 0.9863 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1844, allocations: 4 kB / 0.9863 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1844, allocations: 0 / 0.9863 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1844, allocations: 7.984 kB / 0.9863 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006204/0.1851, allocations: 0.5582 MB / 0.9868 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1851, allocations: 0 / 0.9868 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.992e-05/0.1852, allocations: 19.98 kB / 0.9868 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1852, allocations: 0 / 0.9868 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.1852, allocations: 8 kB / 0.9868 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1852, allocations: 0 / 0.9868 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1852, allocations: 0 / 0.9868 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.1856, allocations: 311 kB / 0.9871 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.1856, allocations: 96.92 kB / 0.9872 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.1857, allocations: 7.938 kB / 0.9872 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.1858, allocations: 19.97 kB / 0.9873 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.1859, allocations: 15.98 kB / 0.9873 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.1859, allocations: 7.984 kB / 0.9873 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001456/0.186, allocations: 210 kB / 0.9875 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1861, allocations: 0 / 0.9875 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002769/0.1863, allocations: 59.83 kB / 0.9875 GB, free: 18.67 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.001217/0.1876, allocations: 1.154 MB / 0.9887 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003983/0.188, allocations: 191.8 kB / 0.9889 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.188, allocations: 0 / 0.9889 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.1881, allocations: 83.88 kB / 0.9889 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.1885, allocations: 44.84 kB / 0.989 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.1904, allocations: 1.513 MB / 0.9905 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.1906, allocations: 0.7479 MB / 0.9912 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.912e-05/0.1907, allocations: 37.92 kB / 0.9912 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.587e-05/0.1908, allocations: 75.41 kB / 0.9913 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.1908, allocations: 0 / 0.9913 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0148/0.2056, allocations: 5.05 MB / 0.9962 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/0.2058, allocations: 231.2 kB / 0.9964 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/1.844, allocations: 0 / 0.9964 GB, free: 9.734 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)