Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.001593/0.001593, allocations: 100.2 kB / 19.74 MB, free: 2.039 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.001443/0.001443, allocations: 208.5 kB / 23.04 MB, free: 4.867 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.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 7.945 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.9275/0.9275, allocations: 150 MB / 463.2 MB, free: 10.18 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.Discrete.Validation.UnitDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_UnitDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_UnitDelay",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.002332/0.002332, allocations: 71.33 kB / 0.6413 GB, free: 9.844 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1817, allocations: 89.16 MB / 0.7283 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001848/0.1836, allocations: 0.6559 MB / 0.729 GB, free: 104 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.185, allocations: 1.081 MB / 0.73 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.185, allocations: 0 / 0.73 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.1851, allocations: 7.938 kB / 0.73 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.83e-05/0.1852, allocations: 11.92 kB / 0.73 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.1855, allocations: 39.84 kB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.1856, allocations: 51.84 kB / 0.7301 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1857, allocations: 7.984 kB / 0.7301 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.619e-05/0.1857, allocations: 27.86 kB / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.669e-05/0.1858, allocations: 11.92 kB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1858, allocations: 4 kB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.212e-05/0.1859, allocations: 23.98 kB / 0.7302 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.905e-05/0.1859, allocations: 19.91 kB / 0.7302 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.926e-05/0.1859, allocations: 15.94 kB / 0.7302 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.1861, allocations: 60.06 kB / 0.7303 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1861, allocations: 0 / 0.7303 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.797e-06/0.1861, allocations: 4 kB / 0.7303 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.1861, allocations: 0 / 0.7303 GB, free: 14.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005331/0.1866, allocations: 286.2 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1867, allocations: 8.031 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.1867, allocations: 34.75 kB / 0.7306 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.15e-05/0.1868, allocations: 12.86 kB / 0.7306 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1869, allocations: 114.4 kB / 0.7307 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1869, allocations: 12.38 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.1869, allocations: 4.375 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.1871, allocations: 62.22 kB / 0.7308 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1871, allocations: 3.938 kB / 0.7308 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1871, allocations: 0 / 0.7308 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.1871, allocations: 7.984 kB / 0.7308 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.1873, allocations: 35.95 kB / 0.7309 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.1878, allocations: 251.9 kB / 0.7311 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.1879, allocations: 54.48 kB / 0.7312 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.427e-05/0.188, allocations: 28.95 kB / 0.7312 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.188, allocations: 0 / 0.7312 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.1883, allocations: 71.39 kB / 0.7312 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1883, allocations: 0 / 0.7312 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0003944/0.1886, allocations: 125.5 kB / 0.7314 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.1887, allocations: 55.41 kB / 0.7314 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.559e-05/0.1888, allocations: 105.8 kB / 0.7315 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.1888, allocations: 29.7 kB / 0.7316 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.1889, allocations: 84.14 kB / 0.7316 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.1889, allocations: 19.83 kB / 0.7316 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.1889, allocations: 25.72 kB / 0.7317 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1891, allocations: 318.8 kB / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.873e-05/0.1892, allocations: 27.98 kB / 0.732 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.1893, allocations: 60.2 kB / 0.7321 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.1895, allocations: 96.12 kB / 0.7322 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1895, allocations: 0 / 0.7322 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002729/0.1898, allocations: 109.5 kB / 0.7323 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1898, allocations: 9.719 kB / 0.7323 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1898, allocations: 0 / 0.7323 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1898, allocations: 4 kB / 0.7323 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1899, allocations: 16.17 kB / 0.7323 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.1899, allocations: 4 kB / 0.7323 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.826e-05/0.19, allocations: 12.16 kB / 0.7323 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.19, allocations: 12.3 kB / 0.7323 GB, free: 12.44 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: 6 (unitDelay1.u_internal,$PRE.unitDelay1.u_internal,unitDelay1.y,$PRE.unitDelay1.y,unitDelay1.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.798e-05/0.1901, allocations: 117.8 kB / 0.7324 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.737e-05/0.1901, allocations: 11.89 kB / 0.7324 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.1904, allocations: 102 kB / 0.7325 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1904, allocations: 0 / 0.7325 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.1904, allocations: 0 / 0.7325 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-06/0.1904, allocations: 4 kB / 0.7325 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/0.1908, allocations: 317.6 kB / 0.7328 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1908, allocations: 0 / 0.7328 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.715e-05/0.1909, allocations: 11.94 kB / 0.7329 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1909, allocations: 3.984 kB / 0.7329 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.1909, allocations: 0 / 0.7329 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1909, allocations: 0 / 0.7329 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1909, allocations: 0 / 0.7329 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.1911, allocations: 195.4 kB / 0.733 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.283e-05/0.1912, allocations: 15.88 kB / 0.7331 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.1912, allocations: 4 kB / 0.7331 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.74e-05/0.1912, allocations: 4 kB / 0.7331 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.1913, allocations: 11.92 kB / 0.7331 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.1913, allocations: 4 kB / 0.7331 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.803e-05/0.1913, allocations: 87.25 kB / 0.7332 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1913, allocations: 0 / 0.7332 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002324/0.1916, allocations: 19.94 kB / 0.7332 GB, free: 11.47 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: 4 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y,unitDelay1.u_internal) * Number of discrete states: 1 (unitDelay1.u_internal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0006034/0.1922, allocations: 0.7246 MB / 0.7339 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.1924, allocations: 63.89 kB / 0.734 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1924, allocations: 3.938 kB / 0.734 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.1925, allocations: 31.91 kB / 0.734 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.1928, allocations: 8.016 kB / 0.734 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.1944, allocations: 1.423 MB / 0.7354 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.4e-05/0.1944, allocations: 67.34 kB / 0.7354 GB, free: 9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.898e-05/0.1945, allocations: 4 kB / 0.7355 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.1945, allocations: 19.42 kB / 0.7355 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.1945, allocations: 0 / 0.7355 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.2219, allocations: 2.329 MB / 0.7377 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.9, allocations: 2.625 kB / 0.7377 GB, free: 6.793 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_UnitDelay.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.670084283920005] Failed to read output from testmodel.py, exit status != 0: 11.002459599170834 11.017946996 10.828944991 Calling exit ...