Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.Switch,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",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.0008149/0.000815, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004915/0.004915, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.135/1.135, allocations: 205.4 MB / 222.4 MB, free: 5.578 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.557/1.557, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0004535/0.0004535, allocations: 14.12 kB / 0.6744 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1774, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.0007965/0.1783, allocations: 0.498 MB / 0.7885 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.1795, allocations: 1.142 MB / 0.7896 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.1795, allocations: 0 / 0.7896 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.1796, allocations: 7.922 kB / 0.7896 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.509e-05/0.1796, allocations: 3.938 kB / 0.7896 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.18, allocations: 119.5 kB / 0.7897 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.1801, allocations: 119.7 kB / 0.7898 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.66e-05/0.1802, allocations: 19.97 kB / 0.7899 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.113e-05/0.1803, allocations: 47.84 kB / 0.7899 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.144e-05/0.1804, allocations: 39.83 kB / 0.79 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.1804, allocations: 4 kB / 0.79 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.766e-05/0.1805, allocations: 23.98 kB / 0.79 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.1805, allocations: 11.97 kB / 0.79 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.366e-05/0.1806, allocations: 65.55 kB / 0.7901 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.1807, allocations: 111.9 kB / 0.7902 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1807, allocations: 0 / 0.7902 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1807, allocations: 0 / 0.7902 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.1807, allocations: 0 / 0.7902 GB, free: 9.281 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.0005207/0.1813, allocations: 421 kB / 0.7906 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1813, allocations: 16.03 kB / 0.7906 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.1814, allocations: 34.73 kB / 0.7906 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.1814, allocations: 8.844 kB / 0.7906 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.1815, allocations: 176.2 kB / 0.7908 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.1815, allocations: 4.375 kB / 0.7908 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.1816, allocations: 8.375 kB / 0.7908 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.1818, allocations: 94.19 kB / 0.7909 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1818, allocations: 3.938 kB / 0.7909 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1818, allocations: 3.938 kB / 0.7909 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1818, allocations: 4 kB / 0.7909 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.1821, allocations: 91.92 kB / 0.791 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.1825, allocations: 328.7 kB / 0.7913 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.1827, allocations: 66.53 kB / 0.7914 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.1829, allocations: 56.92 kB / 0.7914 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.1829, allocations: 0 / 0.7914 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/0.1832, allocations: 111.3 kB / 0.7915 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.1832, allocations: 0 / 0.7915 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0005826/0.1838, allocations: 193.4 kB / 0.7917 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.1838, allocations: 55.41 kB / 0.7918 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.596e-05/0.1839, allocations: 126.1 kB / 0.7919 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.1839, allocations: 29.7 kB / 0.7919 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.184, allocations: 92.05 kB / 0.792 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.184, allocations: 23.73 kB / 0.792 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.1841, allocations: 17.72 kB / 0.792 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.1841, allocations: 318.8 kB / 0.7923 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.1844, allocations: 75.95 kB / 0.7924 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.1846, allocations: 90.45 kB / 0.7925 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/0.185, allocations: 176.3 kB / 0.7927 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.185, allocations: 0 / 0.7927 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005056/0.1855, allocations: 235.2 kB / 0.7929 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.1855, allocations: 37.69 kB / 0.7929 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.1855, allocations: 320 / 0.7929 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1855, allocations: 4 kB / 0.7929 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.1857, allocations: 23.98 kB / 0.793 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.1857, allocations: 7.938 kB / 0.793 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.1859, allocations: 55.94 kB / 0.793 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.186, allocations: 8 kB / 0.793 GB, free: 6.066 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 8.195e-05/0.186, allocations: 121.8 kB / 0.7931 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.1861, allocations: 7.906 kB / 0.7931 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.291e-05/0.1861, allocations: 8.375 kB / 0.7932 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1861, allocations: 3.984 kB / 0.7932 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1861, allocations: 4 kB / 0.7932 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1861, allocations: 0 / 0.7932 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.1862, allocations: 181.6 kB / 0.7933 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1863, allocations: 3.938 kB / 0.7933 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.1864, allocations: 23.98 kB / 0.7934 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1864, allocations: 0 / 0.7934 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.1864, allocations: 3.984 kB / 0.7934 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1864, allocations: 0 / 0.7934 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1864, allocations: 0 / 0.7934 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.1868, allocations: 180.8 kB / 0.7935 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.1868, allocations: 81.11 kB / 0.7936 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.1868, allocations: 4 kB / 0.7936 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.311e-05/0.1869, allocations: 15.98 kB / 0.7936 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.187, allocations: 7.984 kB / 0.7936 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.187, allocations: 0 / 0.7936 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.089e-05/0.187, allocations: 99.27 kB / 0.7937 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.187, allocations: 0 / 0.7937 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000202/0.1872, allocations: 23.94 kB / 0.7938 GB, free: 5.215 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006393/0.1879, allocations: 0.7177 MB / 0.7945 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004569/0.1884, allocations: 207.4 kB / 0.7947 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.1884, allocations: 0 / 0.7947 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.1885, allocations: 64.02 kB / 0.7947 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.1887, allocations: 29.7 kB / 0.7947 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.1908, allocations: 1.701 MB / 0.7964 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.191, allocations: 0.6962 MB / 0.7971 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.192e-05/0.191, allocations: 8 kB / 0.7971 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.1911, allocations: 19.44 kB / 0.7971 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.1911, allocations: 0 / 0.7971 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.105/1.296, allocations: 2.297 MB / 0.7994 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/1.296, allocations: 209.5 kB / 0.7996 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/3.249, allocations: 0 / 0.7996 GB, free: 15.19 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)