Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.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.001317/0.001317, allocations: 97.11 kB / 19.73 MB, free: 1.871 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.001414/0.001414, allocations: 204.3 kB / 23.04 MB, free: 5.008 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.387/1.387, allocations: 230.6 MB / 256.8 MB, free: 7.715 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.9121/0.9121, allocations: 150 MB / 463.2 MB, free: 10.21 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.Latch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",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.002022/0.002022, allocations: 70.7 kB / 0.6413 GB, free: 9.801 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.172, allocations: 89.18 MB / 0.7284 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002156/0.1742, allocations: 0.7316 MB / 0.7291 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.1758, allocations: 1.26 MB / 0.7303 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.778e-05/0.1759, allocations: 0 / 0.7303 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.408e-05/0.1759, allocations: 7.875 kB / 0.7303 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.678e-05/0.176, allocations: 23.78 kB / 0.7303 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006634/0.1767, allocations: 241.8 kB / 0.7306 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.177, allocations: 255.6 kB / 0.7308 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1771, allocations: 45.27 kB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.1773, allocations: 103.8 kB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.1774, allocations: 91.66 kB / 0.7311 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.47e-05/0.1774, allocations: 24 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.161e-05/0.1775, allocations: 32 kB / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.167e-05/0.1776, allocations: 35.91 kB / 0.7311 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.1777, allocations: 83.73 kB / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.178, allocations: 247.4 kB / 0.7315 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.178, allocations: 0 / 0.7315 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.522e-06/0.178, allocations: 0 / 0.7315 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.178, allocations: 0 / 0.7315 GB, free: 13.54 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006054/0.1786, allocations: 425.2 kB / 0.7319 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1786, allocations: 8.031 kB / 0.7319 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.381e-05/0.1787, allocations: 46.73 kB / 0.7319 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.1787, allocations: 20.84 kB / 0.7319 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/0.1792, allocations: 182.4 kB / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.1793, allocations: 12.38 kB / 0.7321 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.1793, allocations: 20.38 kB / 0.7321 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.1795, allocations: 117.2 kB / 0.7323 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.1795, allocations: 4 kB / 0.7323 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1795, allocations: 4 kB / 0.7323 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1796, allocations: 4 kB / 0.7323 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.1797, allocations: 59.91 kB / 0.7323 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006246/0.1803, allocations: 407.4 kB / 0.7327 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.1805, allocations: 122.8 kB / 0.7328 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.252e-05/0.1806, allocations: 56.78 kB / 0.7329 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.1806, allocations: 7.938 kB / 0.7329 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003238/0.1809, allocations: 183.2 kB / 0.7331 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.794e-06/0.1809, allocations: 0 / 0.7331 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.0005363/0.1815, allocations: 325.5 kB / 0.7334 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.1815, allocations: 67.27 kB / 0.7334 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.1816, allocations: 160 kB / 0.7336 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.1817, allocations: 37.7 kB / 0.7336 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.813e-05/0.1818, allocations: 109 kB / 0.7337 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.697e-05/0.1818, allocations: 71.52 kB / 0.7338 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.182, allocations: 102 kB / 0.7339 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1821, allocations: 326.8 kB / 0.7342 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.1824, allocations: 168.1 kB / 0.7344 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/0.1826, allocations: 233 kB / 0.7346 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003506/0.183, allocations: 278.8 kB / 0.7349 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.183, allocations: 8 kB / 0.7349 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006744/0.1837, allocations: 481.7 kB / 0.7353 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.101e-05/0.1837, allocations: 67.39 kB / 0.7354 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1837, allocations: 0 / 0.7354 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.1838, allocations: 7.938 kB / 0.7354 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.035e-05/0.1838, allocations: 23.86 kB / 0.7354 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.1838, allocations: 4 kB / 0.7354 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.1842, allocations: 79.84 kB / 0.7355 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.1842, allocations: 20 kB / 0.7355 GB, free: 9.043 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,tru.y,fal.y,truCleTruIni.clr,truCleFalIni.clr,falCleTruIni.clr,falCleFalIni.clr,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * 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.000145/0.1843, allocations: 149.8 kB / 0.7357 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.1844, allocations: 15.91 kB / 0.7357 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.1844, allocations: 21.97 kB / 0.7357 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.1844, allocations: 11.94 kB / 0.7357 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1844, allocations: 7.984 kB / 0.7357 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1844, allocations: 0 / 0.7357 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007447/0.1852, allocations: 0.5729 MB / 0.7363 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1852, allocations: 0 / 0.7363 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.425e-05/0.1852, allocations: 11.92 kB / 0.7363 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1852, allocations: 4 kB / 0.7363 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1852, allocations: 4 kB / 0.7363 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1852, allocations: 4 kB / 0.7363 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1852, allocations: 4 kB / 0.7363 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/0.1856, allocations: 364.4 kB / 0.7366 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.1856, allocations: 15.84 kB / 0.7367 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.1857, allocations: 8 kB / 0.7367 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.838e-05/0.1857, allocations: 7.984 kB / 0.7367 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.1858, allocations: 23.91 kB / 0.7367 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.1858, allocations: 16 kB / 0.7367 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.58e-05/0.1859, allocations: 103.2 kB / 0.7368 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1859, allocations: 0 / 0.7368 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003157/0.1862, allocations: 67.95 kB / 0.7369 GB, free: 7.574 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: 32 (swiCleInp1.clr,swiCleInp.clr,truCleFalIni.u,swiCleInp1.u,swiCleInp.u,truCleTruIni.u,falCleTruIni.u,falCleFalIni.u,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0007339/0.1869, allocations: 0.9056 MB / 0.7378 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005552/0.1875, allocations: 415.1 kB / 0.7382 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1875, allocations: 0 / 0.7382 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.1876, allocations: 95.83 kB / 0.7383 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.1879, allocations: 37.8 kB / 0.7383 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/0.1909, allocations: 2.663 MB / 0.7409 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.191, allocations: 111.3 kB / 0.741 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.422e-05/0.1911, allocations: 30.28 kB / 0.741 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.023e-05/0.1911, allocations: 55.5 kB / 0.7411 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of SimCode: time 6.62e-07/0.1911, allocations: 3.938 kB / 0.7411 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03308/0.2242, allocations: 5.241 MB / 0.7462 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.61, allocations: 2.625 kB / 0.7462 GB, free: 13.96 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.459064525086433] Failed to read output from testmodel.py, exit status != 0: 10.71219883300364 10.993411125 10.546275238 Calling exit ...