Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.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.001721/0.001721, allocations: 103.8 kB / 20.49 MB, free: 1.316 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.002009/0.002009, allocations: 215.5 kB / 23.79 MB, free: 4.453 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.419/1.419, allocations: 230.6 MB / 257.6 MB, free: 7.77 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.9458/0.9458, allocations: 150 MB / 464 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: translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative") [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.001945/0.001945, allocations: 70.77 kB / 0.6426 GB, free: 9.305 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1747, allocations: 89.17 MB / 0.7296 GB, free: 196 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002315/0.177, allocations: 0.9823 MB / 0.7306 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.1785, allocations: 1.034 MB / 0.7316 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.397e-05/0.1786, allocations: 0 / 0.7316 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.1787, allocations: 23.73 kB / 0.7316 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.867e-05/0.1788, allocations: 19.8 kB / 0.7316 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.1791, allocations: 79.84 kB / 0.7317 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.1793, allocations: 176 kB / 0.7319 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.1795, allocations: 60.44 kB / 0.7319 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.1796, allocations: 71.72 kB / 0.732 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.1797, allocations: 71.61 kB / 0.7321 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.1797, allocations: 20 kB / 0.7321 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.775e-05/0.1798, allocations: 16 kB / 0.7321 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.1798, allocations: 43.89 kB / 0.7322 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.703e-05/0.1799, allocations: 59.66 kB / 0.7322 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.1802, allocations: 199.1 kB / 0.7324 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1802, allocations: 0 / 0.7324 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1802, allocations: 0 / 0.7324 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.1802, allocations: 3.938 kB / 0.7324 GB, free: 13.33 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008487/0.181, allocations: 422.4 kB / 0.7328 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.181, allocations: 12.03 kB / 0.7328 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.1812, allocations: 24.78 kB / 0.7328 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.1814, allocations: 166.7 kB / 0.733 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.1815, allocations: 20.36 kB / 0.733 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.1815, allocations: 12.38 kB / 0.733 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.1819, allocations: 184.5 kB / 0.7332 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1819, allocations: 0 / 0.7332 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.1819, allocations: 8 kB / 0.7332 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1819, allocations: 4 kB / 0.7332 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.1822, allocations: 108.5 kB / 0.7333 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.1832, allocations: 439.8 kB / 0.7337 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003642/0.1836, allocations: 126.8 kB / 0.7339 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.1837, allocations: 84.75 kB / 0.7339 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.1838, allocations: 0 / 0.7339 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002569/0.184, allocations: 154.7 kB / 0.7341 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.342e-06/0.184, allocations: 0 / 0.7341 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.0006197/0.1846, allocations: 220.3 kB / 0.7343 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.1847, allocations: 63.33 kB / 0.7344 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.1848, allocations: 144.2 kB / 0.7345 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.1849, allocations: 33.7 kB / 0.7345 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.871e-05/0.185, allocations: 116.5 kB / 0.7346 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.802e-05/0.185, allocations: 67.42 kB / 0.7347 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.27e-05/0.1851, allocations: 45.7 kB / 0.7348 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002131/0.1853, allocations: 322.8 kB / 0.7351 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.1855, allocations: 67.95 kB / 0.7351 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.1857, allocations: 91.5 kB / 0.7352 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.1861, allocations: 143.2 kB / 0.7354 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1861, allocations: 0 / 0.7354 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000492/0.1866, allocations: 226.9 kB / 0.7356 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.1866, allocations: 4 kB / 0.7356 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1866, allocations: 0 / 0.7356 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1866, allocations: 0 / 0.7356 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.1868, allocations: 43.91 kB / 0.7356 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1868, allocations: 0 / 0.7356 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.187, allocations: 27.88 kB / 0.7356 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.187, allocations: 7.938 kB / 0.7356 GB, free: 9.82 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001223/0.1871, allocations: 133.8 kB / 0.7358 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.1871, allocations: 15.84 kB / 0.7358 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004492/0.1876, allocations: 186.7 kB / 0.736 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1876, allocations: 4 kB / 0.736 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1876, allocations: 0 / 0.736 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1876, allocations: 0 / 0.736 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008026/0.1884, allocations: 0.5067 MB / 0.7365 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.1884, allocations: 4 kB / 0.7365 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.1886, allocations: 47.91 kB / 0.7365 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1886, allocations: 0 / 0.7365 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.1886, allocations: 7.938 kB / 0.7365 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.1886, allocations: 4.188 kB / 0.7365 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1886, allocations: 4 kB / 0.7365 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006302/0.1892, allocations: 384.4 kB / 0.7369 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.212e-05/0.1893, allocations: 15.84 kB / 0.7369 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.1893, allocations: 8 kB / 0.7369 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.1894, allocations: 12.03 kB / 0.7369 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/0.1895, allocations: 23.95 kB / 0.737 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.1895, allocations: 16 kB / 0.737 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.137e-05/0.1896, allocations: 105.3 kB / 0.7371 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1896, allocations: 0 / 0.7371 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002914/0.1899, allocations: 35.89 kB / 0.7371 GB, free: 8.215 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.0001338/0.19, allocations: 111.1 kB / 0.7372 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00044/0.1905, allocations: 155.8 kB / 0.7374 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1905, allocations: 4.062 kB / 0.7374 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.1907, allocations: 86.89 kB / 0.7374 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.191, allocations: 18.62 kB / 0.7375 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006535/0.1917, allocations: 388.4 kB / 0.7378 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.1918, allocations: 112.2 kB / 0.7379 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.758e-05/0.1918, allocations: 13.42 kB / 0.738 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.442e-05/0.1919, allocations: 23.36 kB / 0.738 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.1919, allocations: 4 kB / 0.738 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of Templates: time 0.005184/0.1971, allocations: 1.847 MB / 0.7398 GB, free: 5.426 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.488748803036287] Failed to read output from testmodel.py, exit status != 0: 0.2049984431359917 0.218712969 0.035700206000000005 Calling exit ...