Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.001462/0.001462, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001732/0.001732, allocations: 214.2 kB / 22.99 MB, free: 4.977 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.977/0.977, allocations: 149.9 MB / 463 MB, free: 10.41 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: translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [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.002026/0.002026, allocations: 66.55 kB / 0.6415 GB, free: 9.723 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1874, allocations: 89.17 MB / 0.7286 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001995/0.1894, allocations: 0.6425 MB / 0.7292 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.1911, allocations: 1.096 MB / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.536e-05/0.1911, allocations: 0 / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.1912, allocations: 0 / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.205e-05/0.1912, allocations: 7.875 kB / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.1916, allocations: 55.81 kB / 0.7304 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.1917, allocations: 47.86 kB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1918, allocations: 7.984 kB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.336e-05/0.1919, allocations: 23.92 kB / 0.7305 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.055e-05/0.192, allocations: 23.91 kB / 0.7305 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.192, allocations: 4 kB / 0.7305 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.269e-05/0.1921, allocations: 19.92 kB / 0.7305 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.1921, allocations: 12 kB / 0.7305 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.1921, allocations: 19.86 kB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.1923, allocations: 59.78 kB / 0.7306 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1923, allocations: 4 kB / 0.7306 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1923, allocations: 4 kB / 0.7306 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.1923, allocations: 0 / 0.7306 GB, free: 14.58 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006743/0.193, allocations: 290.2 kB / 0.7309 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.193, allocations: 12.03 kB / 0.7309 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.73e-05/0.1931, allocations: 8.891 kB / 0.7309 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.1933, allocations: 106.5 kB / 0.731 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.1933, allocations: 4.375 kB / 0.731 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.1933, allocations: 8.375 kB / 0.731 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.1936, allocations: 74.14 kB / 0.7311 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1936, allocations: 192 / 0.7311 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.1936, allocations: 3.938 kB / 0.7311 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1936, allocations: 4 kB / 0.7311 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.1938, allocations: 43.94 kB / 0.7311 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.1943, allocations: 220.5 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.1944, allocations: 58.48 kB / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.1945, allocations: 40.88 kB / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.1946, allocations: 3.938 kB / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.1948, allocations: 75.38 kB / 0.7315 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.1948, allocations: 0 / 0.7315 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004469/0.1952, allocations: 129.6 kB / 0.7316 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.1953, allocations: 59.34 kB / 0.7317 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.1954, allocations: 109.8 kB / 0.7318 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.1954, allocations: 29.7 kB / 0.7318 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.72e-05/0.1955, allocations: 84.14 kB / 0.7319 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.1955, allocations: 19.8 kB / 0.7319 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/0.1956, allocations: 25.7 kB / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1957, allocations: 314.8 kB / 0.7322 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.1959, allocations: 31.97 kB / 0.7323 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.196, allocations: 52.27 kB / 0.7323 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.1962, allocations: 96.19 kB / 0.7324 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1962, allocations: 0 / 0.7324 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002927/0.1965, allocations: 121.6 kB / 0.7325 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1965, allocations: 8 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1965, allocations: 0 / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.1965, allocations: 4 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.1967, allocations: 15.98 kB / 0.7326 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1967, allocations: 3.938 kB / 0.7326 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/0.1967, allocations: 19.94 kB / 0.7326 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1968, allocations: 0 / 0.7326 GB, free: 12.34 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 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001141/0.1969, allocations: 121.8 kB / 0.7327 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.1969, allocations: 0 / 0.7327 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003005/0.1972, allocations: 114 kB / 0.7328 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1972, allocations: 0 / 0.7328 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1972, allocations: 0 / 0.7328 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1972, allocations: 0 / 0.7328 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/0.1977, allocations: 306.1 kB / 0.7331 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1977, allocations: 0 / 0.7331 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.799e-05/0.1977, allocations: 11.98 kB / 0.7331 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1977, allocations: 7.938 kB / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.1977, allocations: 0 / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1978, allocations: 7.938 kB / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1978, allocations: 0 / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.1981, allocations: 199.6 kB / 0.7333 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.687e-05/0.1981, allocations: 11.89 kB / 0.7333 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.1981, allocations: 3.938 kB / 0.7333 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.669e-05/0.1982, allocations: 7.984 kB / 0.7333 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.1983, allocations: 12.23 kB / 0.7333 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.1983, allocations: 4 kB / 0.7334 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.626e-05/0.1983, allocations: 83.28 kB / 0.7334 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1983, allocations: 4 kB / 0.7334 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002875/0.1986, allocations: 12 kB / 0.7334 GB, free: 11.38 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 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * 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.0001994/0.1988, allocations: 103.9 kB / 0.7335 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002829/0.1991, allocations: 67.88 kB / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.1991, allocations: 4.25 kB / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.1992, allocations: 35.91 kB / 0.7336 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.1995, allocations: 9.969 kB / 0.7337 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004157/0.1999, allocations: 143.4 kB / 0.7338 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.504e-05/0.2, allocations: 67.34 kB / 0.7339 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.976e-05/0.2, allocations: 7.984 kB / 0.7339 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.2001, allocations: 15.44 kB / 0.7339 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.2001, allocations: 0 / 0.7339 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of Templates: time 0.003865/0.2039, allocations: 0.8923 MB / 0.7348 GB, free: 10.01 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.734491480514407] Failed to read output from testmodel.py, exit status != 0: 0.21230917982757092 0.22753873199999994 0.03191999999999994 Calling exit ...