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.001565/0.001565, allocations: 103.8 kB / 20.49 MB, free: 1.32 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.001715/0.001715, allocations: 215.7 kB / 23.79 MB, free: 4.465 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.406/1.406, allocations: 230.6 MB / 257.6 MB, free: 7.742 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.9429/0.9429, allocations: 150 MB / 464 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: 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.001857/0.001857, allocations: 74.56 kB / 0.6425 GB, free: 9.355 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.179, allocations: 89.17 MB / 0.7296 GB, free: 268 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001711/0.1807, allocations: 0.6569 MB / 0.7302 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.1821, allocations: 1.093 MB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.1821, allocations: 0 / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.063e-05/0.1821, allocations: 3.938 kB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.6e-05/0.1822, allocations: 3.938 kB / 0.7313 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.1824, allocations: 47.83 kB / 0.7313 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.72e-05/0.1825, allocations: 47.84 kB / 0.7314 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.161e-05/0.1826, allocations: 8 kB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.939e-05/0.1827, allocations: 19.92 kB / 0.7314 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.33e-05/0.1827, allocations: 27.91 kB / 0.7314 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.1827, allocations: 4 kB / 0.7314 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.543e-05/0.1828, allocations: 23.92 kB / 0.7315 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.1828, allocations: 15.92 kB / 0.7315 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.1828, allocations: 15.94 kB / 0.7315 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.183, allocations: 71.7 kB / 0.7316 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.183, allocations: 0 / 0.7316 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.183, allocations: 0 / 0.7316 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.183, allocations: 0 / 0.7316 GB, free: 14.21 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.0005136/0.1835, allocations: 298.1 kB / 0.7318 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.681e-05/0.1835, allocations: 8.031 kB / 0.7318 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.065e-05/0.1836, allocations: 12.88 kB / 0.7319 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.635e-05/0.1837, allocations: 114.5 kB / 0.732 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1837, allocations: 384 / 0.732 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.1837, allocations: 4.375 kB / 0.732 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.1839, allocations: 62.22 kB / 0.732 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.1839, allocations: 4.188 kB / 0.732 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.1839, allocations: 7.938 kB / 0.732 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.1839, allocations: 0 / 0.732 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.1841, allocations: 47.89 kB / 0.7321 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.1845, allocations: 216.5 kB / 0.7323 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.1846, allocations: 54.55 kB / 0.7323 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.433e-05/0.1847, allocations: 28.91 kB / 0.7324 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.1847, allocations: 0 / 0.7324 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.1849, allocations: 83.31 kB / 0.7325 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.1849, allocations: 0 / 0.7325 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004238/0.1854, allocations: 125.6 kB / 0.7326 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.1854, allocations: 55.41 kB / 0.7326 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.038e-05/0.1855, allocations: 109.8 kB / 0.7327 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1855, allocations: 25.7 kB / 0.7328 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.1856, allocations: 80.14 kB / 0.7328 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.1856, allocations: 27.78 kB / 0.7329 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.1856, allocations: 29.72 kB / 0.7329 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1858, allocations: 314.8 kB / 0.7332 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.92e-05/0.1859, allocations: 27.92 kB / 0.7332 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.186, allocations: 60.27 kB / 0.7333 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.1862, allocations: 96.19 kB / 0.7334 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1862, allocations: 0 / 0.7334 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002843/0.1865, allocations: 117.6 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1865, allocations: 4 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1865, allocations: 3.938 kB / 0.7335 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.1865, allocations: 4 kB / 0.7335 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1866, allocations: 15.98 kB / 0.7335 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1866, allocations: 4.125 kB / 0.7335 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.692e-05/0.1867, allocations: 19.88 kB / 0.7335 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.1867, allocations: 8 kB / 0.7335 GB, free: 11.98 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.046e-05/0.1868, allocations: 124.1 kB / 0.7336 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.1868, allocations: 3.984 kB / 0.7337 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.1871, allocations: 114 kB / 0.7338 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1871, allocations: 256 / 0.7338 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1872, allocations: 0 / 0.7338 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1872, allocations: 8 kB / 0.7338 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.1876, allocations: 302 kB / 0.7341 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1876, allocations: 0 / 0.7341 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.305e-05/0.1877, allocations: 12 kB / 0.7341 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1877, allocations: 0 / 0.7341 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1877, allocations: 7.984 kB / 0.7341 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1877, allocations: 0 / 0.7341 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1877, allocations: 0 / 0.7341 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.188, allocations: 203.8 kB / 0.7343 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.188, allocations: 15.88 kB / 0.7343 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.188, allocations: 0 / 0.7343 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1881, allocations: 7.984 kB / 0.7343 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.1882, allocations: 4 kB / 0.7343 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.1882, allocations: 4 kB / 0.7343 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.555e-05/0.1882, allocations: 87.27 kB / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1882, allocations: 0 / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002529/0.1885, allocations: 16 kB / 0.7344 GB, free: 11.02 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.0001327/0.1886, allocations: 102 kB / 0.7345 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002615/0.1889, allocations: 75.81 kB / 0.7346 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1889, allocations: 0 / 0.7346 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.189, allocations: 31.98 kB / 0.7346 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.1892, allocations: 14.56 kB / 0.7346 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.1896, allocations: 146.4 kB / 0.7348 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.903e-05/0.1896, allocations: 63.34 kB / 0.7348 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.683e-05/0.1897, allocations: 4 kB / 0.7348 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.1897, allocations: 15.38 kB / 0.7348 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.1897, allocations: 0 / 0.7348 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of Templates: time 0.003461/0.1931, allocations: 0.8931 MB / 0.7357 GB, free: 9.652 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.382324411999434] Failed to read output from testmodel.py, exit status != 0: 0.2015903980936855 0.21618836500000002 0.029966785000000003 Calling exit ...