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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 105 kB / 20.48 MB, free: 1.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 214.8 kB / 23.79 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 257.6 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9514/0.9514, allocations: 150 MB / 464 MB, free: 10.56 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 65.88 kB / 0.642 GB, free: 10.49 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1781, allocations: 89.16 MB / 0.7291 GB, free: 1.383 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001802/0.1799, allocations: 0.6392 MB / 0.7297 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1815, allocations: 1.229 MB / 0.7309 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.119e-05/0.1815, allocations: 0 / 0.7309 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.901e-05/0.1816, allocations: 3.938 kB / 0.7309 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.428e-05/0.1816, allocations: 15.88 kB / 0.731 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006285/0.1822, allocations: 218.1 kB / 0.7312 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.1825, allocations: 179.7 kB / 0.7313 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.442e-05/0.1826, allocations: 11.98 kB / 0.7313 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.1827, allocations: 71.88 kB / 0.7314 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1828, allocations: 59.86 kB / 0.7315 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.1828, allocations: 16 kB / 0.7315 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.267e-05/0.1829, allocations: 43.84 kB / 0.7315 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.1829, allocations: 7.938 kB / 0.7315 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.163e-05/0.183, allocations: 59.89 kB / 0.7316 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.1832, allocations: 151.8 kB / 0.7317 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1832, allocations: 0 / 0.7317 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1832, allocations: 0 / 0.7317 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.1833, allocations: 0 / 0.7317 GB, free: 14.69 MB / 0.5606 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.0005171/0.1838, allocations: 369.5 kB / 0.7321 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1838, allocations: 8.031 kB / 0.7321 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.644e-05/0.1838, allocations: 4.188 kB / 0.7321 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.614e-05/0.1838, allocations: 30.75 kB / 0.7321 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.977e-05/0.1839, allocations: 8.938 kB / 0.7321 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.184, allocations: 110.5 kB / 0.7322 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.184, allocations: 8.375 kB / 0.7323 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.1841, allocations: 16.36 kB / 0.7323 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.1842, allocations: 49.94 kB / 0.7323 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.1842, allocations: 0 / 0.7323 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.1842, allocations: 0 / 0.7323 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1842, allocations: 0 / 0.7323 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.029e-05/0.1842, allocations: 23.98 kB / 0.7323 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.1847, allocations: 323.8 kB / 0.7327 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.043e-05/0.1848, allocations: 38.5 kB / 0.7327 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.1848, allocations: 12.86 kB / 0.7327 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.1848, allocations: 0 / 0.7327 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.185, allocations: 91.41 kB / 0.7328 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.185, allocations: 0 / 0.7328 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002388/0.1853, allocations: 105.5 kB / 0.7329 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.1853, allocations: 59.41 kB / 0.7329 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.1854, allocations: 122 kB / 0.7331 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.1854, allocations: 29.7 kB / 0.7331 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.478e-05/0.1855, allocations: 92.12 kB / 0.7332 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.1855, allocations: 15.98 kB / 0.7332 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.1857, allocations: 57.62 kB / 0.7332 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1858, allocations: 318.8 kB / 0.7336 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.1859, allocations: 63.95 kB / 0.7336 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.1861, allocations: 89.27 kB / 0.7337 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.1863, allocations: 167.5 kB / 0.7339 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1863, allocations: 0 / 0.7339 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004542/0.1868, allocations: 268.9 kB / 0.7341 GB, free: 12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.1868, allocations: 67.39 kB / 0.7342 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1868, allocations: 4 kB / 0.7342 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1868, allocations: 0 / 0.7342 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.943e-05/0.1869, allocations: 4.125 kB / 0.7342 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.1869, allocations: 4 kB / 0.7342 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.1872, allocations: 51.89 kB / 0.7342 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.1872, allocations: 15.98 kB / 0.7343 GB, free: 11.84 MB / 0.5606 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.0001193/0.1874, allocations: 125.7 kB / 0.7344 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.1874, allocations: 4 kB / 0.7344 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/0.1874, allocations: 20.34 kB / 0.7344 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1874, allocations: 4 kB / 0.7344 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1874, allocations: 0 / 0.7344 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1874, allocations: 0 / 0.7344 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.1876, allocations: 148.6 kB / 0.7345 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1876, allocations: 0 / 0.7345 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-05/0.1876, allocations: 3.984 kB / 0.7345 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1876, allocations: 4 kB / 0.7346 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1876, allocations: 4 kB / 0.7346 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1876, allocations: 96 / 0.7346 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1876, allocations: 3.938 kB / 0.7346 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.1878, allocations: 117 kB / 0.7347 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.1878, allocations: 11.95 kB / 0.7347 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.1878, allocations: 0 / 0.7347 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.115e-05/0.1878, allocations: 3.938 kB / 0.7347 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.1879, allocations: 11.92 kB / 0.7347 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1879, allocations: 8 kB / 0.7347 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.641e-05/0.1879, allocations: 91.27 kB / 0.7348 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1879, allocations: 4 kB / 0.7348 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002403/0.1882, allocations: 27.94 kB / 0.7348 GB, free: 11.19 MB / 0.5606 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.0004974/0.1887, allocations: 0.6476 MB / 0.7355 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003533/0.189, allocations: 222.9 kB / 0.7357 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.189, allocations: 4.062 kB / 0.7357 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.96e-05/0.1891, allocations: 20.41 kB / 0.7357 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.1893, allocations: 18.17 kB / 0.7357 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.1914, allocations: 1.736 MB / 0.7374 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.1917, allocations: 0.6846 MB / 0.7381 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.954e-05/0.1917, allocations: 7.984 kB / 0.7381 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.989e-05/0.1918, allocations: 15.44 kB / 0.7381 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.1918, allocations: 0 / 0.7381 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.2149, allocations: 3.072 MB / 0.7411 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.63, allocations: 9.109 kB / 0.7411 GB, free: 4.734 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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 os._exit(0), Time elapsed: 15.433232798997778] Failed to read output from testmodel.py, exit status != 0: 11.789213289972395 11.811220448 11.624425039 Calling exit ...