Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008188/0.0008188, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005506/0.005506, allocations: 171.4 kB / 16.26 MB, free: 6.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.4/1.4, allocations: 205.4 MB / 222.4 MB, free: 5.789 MB / 174.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.543/1.543, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004936/0.0004935, allocations: 12.25 kB / 0.6744 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1859, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.0007302/0.1867, allocations: 458.1 kB / 0.7884 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007839/0.1875, allocations: 0.8254 MB / 0.7893 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.077e-05/0.1875, allocations: 3.938 kB / 0.7893 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.1875, allocations: 7.922 kB / 0.7893 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.312e-05/0.1876, allocations: 3.938 kB / 0.7893 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001194/0.1877, allocations: 15.98 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.052e-05/0.1878, allocations: 35.92 kB / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.351e-05/0.1879, allocations: 19.98 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.009e-05/0.1879, allocations: 15.92 kB / 0.7894 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.278e-05/0.188, allocations: 19.91 kB / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.188, allocations: 4 kB / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.116e-06/0.188, allocations: 0 / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.188, allocations: 11.92 kB / 0.7894 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.1881, allocations: 37.64 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.172e-05/0.1882, allocations: 35.86 kB / 0.7895 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1882, allocations: 4 kB / 0.7895 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1882, allocations: 0 / 0.7895 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1882, allocations: 0 / 0.7895 GB, free: 9.977 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005361/0.1887, allocations: 391.7 kB / 0.7898 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.1888, allocations: 12.03 kB / 0.7898 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.1888, allocations: 34.75 kB / 0.7899 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.164e-05/0.1888, allocations: 4.844 kB / 0.7899 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.1889, allocations: 176.2 kB / 0.7901 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.189, allocations: 4.312 kB / 0.7901 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.189, allocations: 4.375 kB / 0.7901 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.1892, allocations: 70.23 kB / 0.7901 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1892, allocations: 3.938 kB / 0.7901 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.1892, allocations: 4 kB / 0.7901 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1892, allocations: 0 / 0.7901 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.1894, allocations: 55.95 kB / 0.7902 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/0.1898, allocations: 308.7 kB / 0.7905 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.1901, allocations: 58.55 kB / 0.7905 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.325e-05/0.1902, allocations: 32.98 kB / 0.7906 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.1902, allocations: 4 kB / 0.7906 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.1902, allocations: 30.56 kB / 0.7906 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.1902, allocations: 7.938 kB / 0.7906 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003389/0.1906, allocations: 105.5 kB / 0.7907 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.1906, allocations: 55.41 kB / 0.7908 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.924e-05/0.1907, allocations: 117.8 kB / 0.7909 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.1907, allocations: 25.7 kB / 0.7909 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.1907, allocations: 88.12 kB / 0.791 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.1907, allocations: 7.906 kB / 0.791 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.1908, allocations: 13.72 kB / 0.791 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.1909, allocations: 318.8 kB / 0.7913 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-05/0.191, allocations: 27.98 kB / 0.7913 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.192e-05/0.1911, allocations: 27.98 kB / 0.7914 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.1912, allocations: 56.81 kB / 0.7914 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1912, allocations: 3.938 kB / 0.7914 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000201/0.1914, allocations: 89.89 kB / 0.7915 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.1915, allocations: 4 kB / 0.7915 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.1915, allocations: 0 / 0.7915 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.1915, allocations: 4 kB / 0.7915 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.877e-05/0.1916, allocations: 15.98 kB / 0.7915 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.1916, allocations: 0 / 0.7915 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.1917, allocations: 19.92 kB / 0.7915 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.1917, allocations: 4 kB / 0.7916 GB, free: 7.598 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.715e-05/0.1918, allocations: 125.8 kB / 0.7917 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.1918, allocations: 7.938 kB / 0.7917 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.192, allocations: 85.5 kB / 0.7918 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.192, allocations: 7.984 kB / 0.7918 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.192, allocations: 0 / 0.7918 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1921, allocations: 4 kB / 0.7918 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.1922, allocations: 173.7 kB / 0.7919 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1922, allocations: 0 / 0.7919 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.86e-05/0.1923, allocations: 11.98 kB / 0.7919 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1923, allocations: 0 / 0.7919 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.1923, allocations: 0 / 0.7919 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1923, allocations: 384 / 0.7919 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1923, allocations: 4 kB / 0.792 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.1925, allocations: 191.3 kB / 0.7921 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.1926, allocations: 81.09 kB / 0.7922 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.1926, allocations: 3.938 kB / 0.7922 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.1927, allocations: 23.98 kB / 0.7922 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.1928, allocations: 3.984 kB / 0.7922 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.1928, allocations: 4 kB / 0.7922 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.033e-05/0.1928, allocations: 91.27 kB / 0.7923 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1928, allocations: 0 / 0.7923 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001993/0.193, allocations: 11.91 kB / 0.7923 GB, free: 6.676 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0004613/0.1935, allocations: 0.7124 MB / 0.793 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.1937, allocations: 59.95 kB / 0.7931 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1937, allocations: 4 kB / 0.7931 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.319e-05/0.1938, allocations: 27.97 kB / 0.7931 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.1941, allocations: 12 kB / 0.7931 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.1953, allocations: 1.361 MB / 0.7945 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.1955, allocations: 0.6809 MB / 0.7951 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.884e-05/0.1955, allocations: 7.984 kB / 0.7951 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.1956, allocations: 15.44 kB / 0.7952 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.1956, allocations: 0 / 0.7952 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.1/1.295, allocations: 1.459 MB / 0.7966 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/1.296, allocations: 209 kB / 0.7968 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/3.052, allocations: 3.938 kB / 0.7968 GB, free: 2.102 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)