Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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.Xor,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",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.001448/0.001448, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001867/0.001867, allocations: 190.7 kB / 16.25 MB, free: 6.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.46/1.46, allocations: 205.1 MB / 222.1 MB, free: 4.668 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.565/1.565, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001341/0.001341, allocations: 70.91 kB / 0.6711 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1799, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.00155/0.1814, allocations: 0.7357 MB / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1826, allocations: 1.189 MB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.1826, allocations: 0 / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.1826, allocations: 3.938 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.01e-05/0.1827, allocations: 7.922 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.1832, allocations: 201.9 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.1833, allocations: 179.8 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.203e-05/0.1834, allocations: 12 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.88e-05/0.1835, allocations: 67.88 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.423e-05/0.1836, allocations: 51.86 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.1836, allocations: 16 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.183e-05/0.1837, allocations: 31.92 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.1837, allocations: 7.938 kB / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.43e-05/0.1838, allocations: 63.81 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.1839, allocations: 159.9 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1839, allocations: 3.984 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1839, allocations: 0 / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.1839, allocations: 0 / 0.7856 GB, free: 11.06 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000375/0.1843, allocations: 430.7 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.1843, allocations: 12.03 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.416e-05/0.1844, allocations: 34.73 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.1844, allocations: 12.92 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.42e-05/0.1845, allocations: 168.3 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1845, allocations: 12.38 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.1846, allocations: 8.375 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.12e-05/0.1846, allocations: 50.17 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.1847, allocations: 3.938 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.1847, allocations: 4 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-06/0.1847, allocations: 0 / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.817e-05/0.1847, allocations: 27.92 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.1851, allocations: 360.7 kB / 0.7867 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.806e-05/0.1851, allocations: 30.52 kB / 0.7867 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/0.1852, allocations: 20.94 kB / 0.7868 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.1852, allocations: 0 / 0.7868 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/0.1853, allocations: 79.28 kB / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.424e-06/0.1853, allocations: 0 / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0001812/0.1855, allocations: 113.5 kB / 0.7869 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.1855, allocations: 59.41 kB / 0.787 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.62e-05/0.1856, allocations: 121.7 kB / 0.7871 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.1856, allocations: 29.7 kB / 0.7871 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.1857, allocations: 88.14 kB / 0.7872 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.1857, allocations: 19.8 kB / 0.7873 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.99e-05/0.1858, allocations: 45.69 kB / 0.7873 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.374e-05/0.1859, allocations: 318.8 kB / 0.7876 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.186, allocations: 67.95 kB / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.1862, allocations: 91.77 kB / 0.7878 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.1863, allocations: 155.6 kB / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1863, allocations: 11.94 kB / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00036/0.1867, allocations: 257.4 kB / 0.7882 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.934e-05/0.1867, allocations: 71.33 kB / 0.7882 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1868, allocations: 4 kB / 0.7882 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.1868, allocations: 0 / 0.7882 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.549e-05/0.1868, allocations: 4 kB / 0.7882 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.1868, allocations: 0 / 0.7882 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.1871, allocations: 59.91 kB / 0.7883 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.1872, allocations: 15.98 kB / 0.7883 GB, free: 8.016 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,xor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 7.582e-05/0.1872, allocations: 125.8 kB / 0.7884 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.1873, allocations: 3.906 kB / 0.7884 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.1873, allocations: 16.36 kB / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.1873, allocations: 3.938 kB / 0.7884 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.1873, allocations: 0 / 0.7884 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1873, allocations: 4 kB / 0.7885 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.1874, allocations: 181.6 kB / 0.7886 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1874, allocations: 0 / 0.7886 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-06/0.1874, allocations: 0 / 0.7886 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1874, allocations: 4 kB / 0.7886 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.1875, allocations: 0 / 0.7886 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1875, allocations: 0 / 0.7886 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.1875, allocations: 0 / 0.7886 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.1876, allocations: 113 kB / 0.7887 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.1876, allocations: 88.95 kB / 0.7888 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.1876, allocations: 8.062 kB / 0.7888 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.053e-05/0.1877, allocations: 3.984 kB / 0.7888 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.1877, allocations: 4 kB / 0.7888 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.1877, allocations: 7.938 kB / 0.7888 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.857e-05/0.1878, allocations: 91.27 kB / 0.7889 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1878, allocations: 0 / 0.7889 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002112/0.188, allocations: 28 kB / 0.789 GB, free: 7.25 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,xor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003521/0.1883, allocations: 0.6676 MB / 0.7896 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000274/0.1886, allocations: 246.6 kB / 0.7898 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1886, allocations: 0 / 0.7898 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.101e-05/0.1887, allocations: 35.92 kB / 0.7899 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.1889, allocations: 16.25 kB / 0.7899 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.1904, allocations: 1.724 MB / 0.7916 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.1906, allocations: 0.6885 MB / 0.7923 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.424e-05/0.1906, allocations: 7.984 kB / 0.7923 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.1907, allocations: 23.42 kB / 0.7923 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.1907, allocations: 0 / 0.7923 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.886/2.077, allocations: 2.766 MB / 0.795 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002691/2.077, allocations: 202.9 kB / 0.7952 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.014/4.091, allocations: 4 kB / 0.7952 GB, free: 0.7461 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)