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.001485/0.001485, allocations: 119 kB / 19.69 MB, free: 2.199 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.002021/0.002021, allocations: 222.8 kB / 23.01 MB, free: 5.047 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.508/1.508, 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 1.009/1.009, allocations: 150 MB / 463.1 MB, free: 10.52 MB / 366.1 MB " [Timeout remaining time 178] 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.002054/0.002054, allocations: 65.03 kB / 0.6418 GB, free: 9.855 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2476, allocations: 89.17 MB / 0.7289 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.003072/0.2507, allocations: 1.049 MB / 0.7299 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.2527, allocations: 1.049 MB / 0.7309 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.2529, allocations: 4 kB / 0.7309 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.2531, allocations: 15.75 kB / 0.7309 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.2533, allocations: 31.73 kB / 0.731 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.2537, allocations: 79.22 kB / 0.731 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000336/0.254, allocations: 176 kB / 0.7312 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.2543, allocations: 68.38 kB / 0.7313 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.2544, allocations: 67.78 kB / 0.7313 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.2546, allocations: 83.59 kB / 0.7314 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.955e-05/0.2546, allocations: 16 kB / 0.7314 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.833e-05/0.2547, allocations: 20 kB / 0.7315 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.629e-05/0.2547, allocations: 35.91 kB / 0.7315 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.583e-05/0.2548, allocations: 79.53 kB / 0.7316 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.2552, allocations: 195.1 kB / 0.7317 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/0.2552, allocations: 4 kB / 0.7318 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.245e-06/0.2552, allocations: 0 / 0.7318 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.2552, allocations: 0 / 0.7318 GB, free: 13.77 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.001083/0.2563, allocations: 426.3 kB / 0.7322 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.2563, allocations: 8.031 kB / 0.7322 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.2565, allocations: 28.8 kB / 0.7322 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.2569, allocations: 167.9 kB / 0.7324 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.2569, allocations: 16.31 kB / 0.7324 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.257, allocations: 16.38 kB / 0.7324 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003716/0.2574, allocations: 154.8 kB / 0.7325 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.2574, allocations: 0 / 0.7325 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.2574, allocations: 4 kB / 0.7325 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.2574, allocations: 4 kB / 0.7325 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.2577, allocations: 112.5 kB / 0.7326 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.2594, allocations: 0.4953 MB / 0.7331 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005538/0.26, allocations: 137.2 kB / 0.7333 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/0.2603, allocations: 80.8 kB / 0.7333 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.722e-05/0.2603, allocations: 4 kB / 0.7333 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003473/0.2606, allocations: 123.3 kB / 0.7335 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 2.405e-06/0.2607, allocations: 0 / 0.7335 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.0008305/0.2615, allocations: 227.8 kB / 0.7337 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.2615, allocations: 55.41 kB / 0.7337 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.2618, allocations: 163.5 kB / 0.7339 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.2618, allocations: 33.7 kB / 0.7339 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.2619, allocations: 116.5 kB / 0.734 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.065e-05/0.262, allocations: 67.44 kB / 0.7341 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.2621, allocations: 37.7 kB / 0.7341 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002251/0.2623, allocations: 334.8 kB / 0.7344 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.2627, allocations: 63.97 kB / 0.7345 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.263, allocations: 89.66 kB / 0.7346 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005375/0.2635, allocations: 152.3 kB / 0.7347 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2635, allocations: 0 / 0.7347 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008118/0.2643, allocations: 209.5 kB / 0.7349 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.2644, allocations: 4 kB / 0.7349 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.2644, allocations: 3.938 kB / 0.7349 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.193e-05/0.2644, allocations: 4 kB / 0.735 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.2647, allocations: 43.91 kB / 0.735 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.2647, allocations: 0 / 0.735 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.265, allocations: 27.86 kB / 0.735 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.265, allocations: 8 kB / 0.735 GB, free: 10.22 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.0002158/0.2652, allocations: 133.7 kB / 0.7352 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.2653, allocations: 15.91 kB / 0.7352 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006863/0.266, allocations: 192.2 kB / 0.7354 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.266, allocations: 0 / 0.7354 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.266, allocations: 0 / 0.7354 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.266, allocations: 4 kB / 0.7354 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.2675, allocations: 0.5607 MB / 0.7359 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2675, allocations: 3.938 kB / 0.7359 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.2677, allocations: 44.16 kB / 0.736 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.717e-05/0.2678, allocations: 7.938 kB / 0.736 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.2678, allocations: 8 kB / 0.736 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.2678, allocations: 0 / 0.736 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.2678, allocations: 7.938 kB / 0.736 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009921/0.2688, allocations: 377.4 kB / 0.7363 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.2689, allocations: 27.78 kB / 0.7364 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.2689, allocations: 8 kB / 0.7364 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.2691, allocations: 12.03 kB / 0.7364 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.799e-05/0.2692, allocations: 31.89 kB / 0.7364 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.2693, allocations: 12 kB / 0.7364 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001522/0.2694, allocations: 115.2 kB / 0.7365 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2694, allocations: 0 / 0.7365 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005422/0.27, allocations: 31.95 kB / 0.7366 GB, free: 8.527 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.0001814/0.2701, allocations: 111.1 kB / 0.7367 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006716/0.2708, allocations: 159.8 kB / 0.7368 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.2708, allocations: 0 / 0.7368 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.2711, allocations: 87.84 kB / 0.7369 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006322/0.2718, allocations: 24.42 kB / 0.7369 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.273, allocations: 368.3 kB / 0.7373 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006027/0.2736, allocations: 0.7282 MB / 0.738 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001171/0.2737, allocations: 17.42 kB / 0.738 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.606e-05/0.2738, allocations: 15.44 kB / 0.738 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.2738, allocations: 4 kB / 0.738 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of Templates: time 0.00814/0.282, allocations: 1.883 MB / 0.7399 GB, free: 5.082 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.232536790892482] Failed to read output from testmodel.py, exit status != 0: 0.29202263290062547 0.31669654 0.056944899 Calling exit ...