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.001524/0.001524, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.0015/0.0015, allocations: 219.7 kB / 23 MB, free: 5.004 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.611/1.611, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.9791/0.9791, allocations: 150 MB / 463.1 MB, free: 10.51 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.002079/0.002079, allocations: 65.88 kB / 0.6417 GB, free: 9.938 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1933, allocations: 89.17 MB / 0.7288 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001963/0.1953, allocations: 0.6734 MB / 0.7295 GB, free: 156 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.1969, allocations: 1.108 MB / 0.7305 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.872e-05/0.197, allocations: 0 / 0.7305 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.7e-05/0.197, allocations: 3.938 kB / 0.7305 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.793e-05/0.1971, allocations: 7.922 kB / 0.7306 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.1974, allocations: 51.83 kB / 0.7306 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.1975, allocations: 47.86 kB / 0.7306 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.997e-05/0.1976, allocations: 7.984 kB / 0.7307 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.064e-05/0.1977, allocations: 23.92 kB / 0.7307 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.066e-05/0.1978, allocations: 27.84 kB / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1978, allocations: 4 kB / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.175e-05/0.1979, allocations: 23.98 kB / 0.7307 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.1979, allocations: 11.98 kB / 0.7307 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.1979, allocations: 19.88 kB / 0.7308 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.1981, allocations: 63.77 kB / 0.7308 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1981, allocations: 4 kB / 0.7308 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.448e-06/0.1981, allocations: 7.938 kB / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.1981, allocations: 0 / 0.7308 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006294/0.1987, allocations: 286.2 kB / 0.7311 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.1988, allocations: 12.03 kB / 0.7311 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.278e-05/0.1989, allocations: 8.875 kB / 0.7311 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.199, allocations: 114.5 kB / 0.7312 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.199, allocations: 12.31 kB / 0.7312 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.199, allocations: 384 / 0.7312 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.1992, allocations: 70.2 kB / 0.7313 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1993, allocations: 192 / 0.7313 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.1993, allocations: 7.938 kB / 0.7313 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1993, allocations: 4 kB / 0.7313 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.1995, allocations: 35.95 kB / 0.7314 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.2, allocations: 251.9 kB / 0.7316 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.2001, allocations: 54.44 kB / 0.7317 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.2002, allocations: 36.95 kB / 0.7317 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.2002, allocations: 0 / 0.7317 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.2005, allocations: 83.31 kB / 0.7318 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.2005, allocations: 0 / 0.7318 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004203/0.2009, allocations: 129.6 kB / 0.7319 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.2009, allocations: 51.41 kB / 0.7319 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.7e-05/0.201, allocations: 105.8 kB / 0.732 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.201, allocations: 29.7 kB / 0.7321 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.2011, allocations: 88.14 kB / 0.7322 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.2011, allocations: 23.78 kB / 0.7322 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.2012, allocations: 21.72 kB / 0.7322 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.2013, allocations: 318.8 kB / 0.7325 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.86e-05/0.2014, allocations: 23.98 kB / 0.7325 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.2016, allocations: 64.52 kB / 0.7326 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.2018, allocations: 92.12 kB / 0.7327 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2018, allocations: 8 kB / 0.7327 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000284/0.2021, allocations: 117.5 kB / 0.7328 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2021, allocations: 4 kB / 0.7328 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2021, allocations: 3.938 kB / 0.7328 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2021, allocations: 4 kB / 0.7328 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.2022, allocations: 19.92 kB / 0.7328 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.2022, allocations: 0 / 0.7328 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.415e-05/0.2023, allocations: 20.06 kB / 0.7328 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.2023, allocations: 0 / 0.7328 GB, free: 12.45 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 9.932e-05/0.2024, allocations: 123.8 kB / 0.733 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/0.2024, allocations: 0 / 0.733 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003092/0.2027, allocations: 109.9 kB / 0.7331 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.2027, allocations: 7.984 kB / 0.7331 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2027, allocations: 0 / 0.7331 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2027, allocations: 4 kB / 0.7331 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004879/0.2032, allocations: 329.9 kB / 0.7334 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2032, allocations: 0 / 0.7334 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.583e-05/0.2033, allocations: 15.92 kB / 0.7334 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2033, allocations: 0 / 0.7334 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.2033, allocations: 4 kB / 0.7334 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2033, allocations: 0 / 0.7334 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2033, allocations: 0 / 0.7334 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/0.2036, allocations: 211.5 kB / 0.7336 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/0.2037, allocations: 8.078 kB / 0.7336 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.2037, allocations: 4 kB / 0.7336 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.841e-05/0.2038, allocations: 11.92 kB / 0.7336 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.2038, allocations: 7.984 kB / 0.7336 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.2038, allocations: 11.94 kB / 0.7337 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.583e-05/0.2039, allocations: 79.28 kB / 0.7337 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2039, allocations: 0 / 0.7337 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002492/0.2041, allocations: 16 kB / 0.7337 GB, free: 11.45 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.0001442/0.2043, allocations: 109 kB / 0.7338 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002684/0.2045, allocations: 68.08 kB / 0.7339 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2045, allocations: 4.062 kB / 0.7339 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.2047, allocations: 31.97 kB / 0.7339 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.2049, allocations: 12.12 kB / 0.734 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.2052, allocations: 138.1 kB / 0.7341 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.2056, allocations: 0.6845 MB / 0.7348 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.31e-05/0.2056, allocations: 15.98 kB / 0.7348 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.2056, allocations: 15.38 kB / 0.7348 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2056, allocations: 0 / 0.7348 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of Templates: time 0.00347/0.2091, allocations: 0.8638 MB / 0.7356 GB, free: 9.461 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.865199357736856] Failed to read output from testmodel.py, exit status != 0: 0.2184869642369449 0.23304977799999996 0.031840382 Calling exit ...