Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 103.7 kB / 17.07 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 193.2 kB / 20.03 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.105/1.105, allocations: 147.6 MB / 445.6 MB, free: 8.426 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 59.75 kB / 0.6109 GB, free: 37.76 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1771, allocations: 83.16 MB / 0.6921 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001802/0.1789, allocations: 0.6327 MB / 0.6927 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.1806, allocations: 1.173 MB / 0.6939 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.563e-05/0.1806, allocations: 0 / 0.6939 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.604e-05/0.1807, allocations: 11.88 kB / 0.6939 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.359e-05/0.1807, allocations: 19.62 kB / 0.6939 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006382/0.1814, allocations: 213.5 kB / 0.6941 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.1816, allocations: 178.4 kB / 0.6943 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.875e-05/0.1817, allocations: 20.44 kB / 0.6943 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.039e-05/0.1818, allocations: 63.73 kB / 0.6944 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.182, allocations: 65.53 kB / 0.6944 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.182, allocations: 14.47 kB / 0.6944 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.757e-05/0.1821, allocations: 26.45 kB / 0.6945 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.85e-05/0.1821, allocations: 14.73 kB / 0.6945 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.643e-05/0.1822, allocations: 63 kB / 0.6945 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.1824, allocations: 154 kB / 0.6947 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1825, allocations: 3.938 kB / 0.6947 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1825, allocations: 0 / 0.6947 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.1825, allocations: 1.781 kB / 0.6947 GB, free: 11.42 MB / 0.5137 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.0005503/0.183, allocations: 438 kB / 0.6951 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1831, allocations: 9.156 kB / 0.6951 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/0.1831, allocations: 32.38 kB / 0.6951 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.1832, allocations: 12.23 kB / 0.6952 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.1833, allocations: 175.1 kB / 0.6953 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.1834, allocations: 4.094 kB / 0.6953 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.1834, allocations: 14.44 kB / 0.6953 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.1835, allocations: 51.77 kB / 0.6954 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1835, allocations: 3.938 kB / 0.6954 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1836, allocations: 5.031 kB / 0.6954 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1836, allocations: 0 / 0.6954 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.507e-05/0.1836, allocations: 13.03 kB / 0.6954 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.1841, allocations: 351.2 kB / 0.6958 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.542e-05/0.1842, allocations: 41.94 kB / 0.6958 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.196e-05/0.1842, allocations: 18.56 kB / 0.6958 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.1843, allocations: 0 / 0.6958 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.1844, allocations: 81.72 kB / 0.6959 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 2.875e-06/0.1844, allocations: 0 / 0.6959 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0002558/0.1847, allocations: 112.9 kB / 0.696 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.1847, allocations: 52.78 kB / 0.696 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.1849, allocations: 122.2 kB / 0.6962 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.1849, allocations: 33.83 kB / 0.6962 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.662e-05/0.185, allocations: 93.64 kB / 0.6963 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.185, allocations: 14.59 kB / 0.6963 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.54e-05/0.1851, allocations: 47.69 kB / 0.6963 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.1853, allocations: 324.5 kB / 0.6967 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.1854, allocations: 59.59 kB / 0.6967 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.1856, allocations: 98.56 kB / 0.6968 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.1858, allocations: 160.9 kB / 0.697 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1858, allocations: 0 / 0.697 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004325/0.1862, allocations: 258.6 kB / 0.6972 GB, free: 9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.337e-05/0.1863, allocations: 69.02 kB / 0.6973 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1863, allocations: 9.438 kB / 0.6973 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1863, allocations: 2.812 kB / 0.6973 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.527e-05/0.1864, allocations: 9.359 kB / 0.6973 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.1864, allocations: 6.812 kB / 0.6973 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.1867, allocations: 47.56 kB / 0.6973 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/0.1868, allocations: 12.23 kB / 0.6974 GB, free: 8.891 MB / 0.5137 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 0.0001115/0.1869, allocations: 131.4 kB / 0.6975 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.1869, allocations: 6.703 kB / 0.6975 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.1869, allocations: 5.75 kB / 0.6975 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1869, allocations: 0 / 0.6975 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.187, allocations: 1.375 kB / 0.6975 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.187, allocations: 3.938 kB / 0.6975 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.1871, allocations: 184.6 kB / 0.6977 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1871, allocations: 1.375 kB / 0.6977 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.366e-06/0.1872, allocations: 1.375 kB / 0.6977 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1872, allocations: 0 / 0.6977 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.1872, allocations: 5.375 kB / 0.6977 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1872, allocations: 1.375 kB / 0.6977 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1872, allocations: 3.984 kB / 0.6977 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.1874, allocations: 112.8 kB / 0.6978 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.506e-05/0.1874, allocations: 90.36 kB / 0.6979 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.1874, allocations: 1.375 kB / 0.6979 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.011e-05/0.1875, allocations: 96 / 0.6979 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.1875, allocations: 16.05 kB / 0.6979 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1875, allocations: 6.75 kB / 0.6979 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.065e-05/0.1876, allocations: 91.47 kB / 0.698 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1876, allocations: 0 / 0.698 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002385/0.1878, allocations: 39.23 kB / 0.698 GB, free: 8.211 MB / 0.5137 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.0005293/0.1884, allocations: 0.6495 MB / 0.6987 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003672/0.1888, allocations: 245.8 kB / 0.6989 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1888, allocations: 2.031 kB / 0.6989 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.601e-05/0.1888, allocations: 31.27 kB / 0.6989 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.1891, allocations: 17.27 kB / 0.6989 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.1912, allocations: 1.721 MB / 0.7006 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.1915, allocations: 0.6885 MB / 0.7013 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.536e-05/0.1915, allocations: 8 kB / 0.7013 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.703e-05/0.1916, allocations: 19.42 kB / 0.7013 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1916, allocations: 0.5625 kB / 0.7013 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.2149, allocations: 2.887 MB / 0.7041 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.092, allocations: 6.875 kB / 0.7041 GB, free: 2.145 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Xor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.000571589916945] Failed to read output from testmodel.py, exit status != 0: 8.43446888285689 8.171748703 7.986813816 Calling exit ...