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.00174/0.00174, allocations: 109 kB / 20.48 MB, free: 1.473 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.002022/0.002022, allocations: 206.7 kB / 23.79 MB, free: 4.688 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.483/1.483, allocations: 230.6 MB / 257.6 MB, free: 8.008 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.9677/0.9677, allocations: 150 MB / 464 MB, free: 10.5 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_UnitDelay",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.002013/0.002013, allocations: 62.19 kB / 0.642 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1867, allocations: 89.18 MB / 0.7291 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.002077/0.1887, allocations: 0.6581 MB / 0.7297 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.1902, allocations: 1.096 MB / 0.7308 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.267e-05/0.1902, allocations: 3.938 kB / 0.7308 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.055e-05/0.1903, allocations: 7.938 kB / 0.7308 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.65e-05/0.1903, allocations: 7.938 kB / 0.7308 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.1906, allocations: 43.83 kB / 0.7309 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.1907, allocations: 47.91 kB / 0.7309 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1908, allocations: 8 kB / 0.7309 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.285e-05/0.1909, allocations: 23.86 kB / 0.731 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.714e-05/0.1909, allocations: 27.91 kB / 0.731 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.191, allocations: 4 kB / 0.731 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.542e-05/0.191, allocations: 23.92 kB / 0.731 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.1911, allocations: 11.92 kB / 0.731 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.1911, allocations: 19.94 kB / 0.731 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.1912, allocations: 63.98 kB / 0.7311 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1912, allocations: 4 kB / 0.7311 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1913, allocations: 0 / 0.7311 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.1913, allocations: 4 kB / 0.7311 GB, free: 15.23 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.0005568/0.1918, allocations: 286.2 kB / 0.7314 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.1919, allocations: 12.03 kB / 0.7314 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.504e-05/0.1919, allocations: 192 / 0.7314 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/0.1919, allocations: 34.73 kB / 0.7314 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.011e-05/0.192, allocations: 4.938 kB / 0.7314 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.1921, allocations: 118.4 kB / 0.7315 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.1921, allocations: 12.38 kB / 0.7316 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.1921, allocations: 4.375 kB / 0.7316 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.1924, allocations: 69.95 kB / 0.7316 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1924, allocations: 0 / 0.7316 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.1924, allocations: 7.984 kB / 0.7316 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1924, allocations: 0 / 0.7316 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.1926, allocations: 43.95 kB / 0.7317 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.1931, allocations: 255.8 kB / 0.7319 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.1932, allocations: 50.55 kB / 0.732 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.235e-05/0.1933, allocations: 24.97 kB / 0.732 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.1933, allocations: 0 / 0.732 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.1936, allocations: 79.38 kB / 0.7321 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1936, allocations: 0 / 0.7321 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.000395/0.194, allocations: 121.5 kB / 0.7322 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.194, allocations: 51.41 kB / 0.7322 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.075e-05/0.1941, allocations: 105.8 kB / 0.7323 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.1941, allocations: 33.7 kB / 0.7324 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.1942, allocations: 84.14 kB / 0.7324 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.1942, allocations: 19.84 kB / 0.7325 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.1942, allocations: 21.7 kB / 0.7325 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1944, allocations: 322.8 kB / 0.7328 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.729e-05/0.1945, allocations: 23.97 kB / 0.7328 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.1946, allocations: 68.2 kB / 0.7329 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.1948, allocations: 84.38 kB / 0.733 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1948, allocations: 7.938 kB / 0.733 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002643/0.1951, allocations: 109.5 kB / 0.7331 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1951, allocations: 8 kB / 0.7331 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1951, allocations: 0 / 0.7331 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1951, allocations: 4 kB / 0.7331 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1953, allocations: 19.92 kB / 0.7331 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1953, allocations: 8.141 kB / 0.7331 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.211e-05/0.1953, allocations: 4 kB / 0.7331 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.1953, allocations: 8 kB / 0.7331 GB, free: 12.93 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 9.105e-05/0.1954, allocations: 117.8 kB / 0.7332 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.1954, allocations: 11.94 kB / 0.7332 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.1957, allocations: 98.03 kB / 0.7333 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1957, allocations: 4 kB / 0.7333 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1957, allocations: 4.312 kB / 0.7333 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1957, allocations: 0 / 0.7333 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.1962, allocations: 325.5 kB / 0.7337 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1962, allocations: 0 / 0.7337 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.1962, allocations: 15.98 kB / 0.7337 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.1962, allocations: 0 / 0.7337 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1962, allocations: 0 / 0.7337 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1962, allocations: 4 kB / 0.7337 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.1962, allocations: 3.938 kB / 0.7337 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.1965, allocations: 187.5 kB / 0.7339 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.1965, allocations: 15.89 kB / 0.7339 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.1965, allocations: 0 / 0.7339 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/0.1966, allocations: 7.984 kB / 0.7339 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.1967, allocations: 15.92 kB / 0.7339 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.1967, allocations: 0 / 0.7339 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.022e-05/0.1967, allocations: 87.22 kB / 0.734 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1967, allocations: 4 kB / 0.734 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002375/0.197, allocations: 8 kB / 0.734 GB, free: 11.96 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.0006461/0.1976, allocations: 0.7281 MB / 0.7347 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002562/0.1979, allocations: 63.89 kB / 0.7348 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1979, allocations: 0 / 0.7348 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.198, allocations: 35.91 kB / 0.7348 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.1983, allocations: 22.19 kB / 0.7348 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.2, allocations: 1.415 MB / 0.7362 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.2003, allocations: 0.6846 MB / 0.7369 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.289e-05/0.2003, allocations: 4.312 kB / 0.7369 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.2004, allocations: 19.42 kB / 0.7369 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of SimCode: time 6.62e-07/0.2004, allocations: 4 kB / 0.7369 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.2229, allocations: 1.931 MB / 0.7388 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/11.9, allocations: 4 kB / 0.7388 GB, free: 7.051 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_UnitDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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 os._exit(0), Time elapsed: 15.689363309997134] Failed to read output from testmodel.py, exit status != 0: 12.05829061102122 12.07762152 11.882085954 Calling exit ...