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.001515/0.001515, allocations: 114 kB / 17.12 MB, free: 6.008 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.001775/0.001775, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.569/1.569, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.061/1.061, allocations: 150 MB / 459.5 MB, free: 5.309 MB / 350.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.00302/0.00302, allocations: 75.45 kB / 0.6366 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2337, allocations: 89.13 MB / 0.7237 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002648/0.2364, allocations: 1.055 MB / 0.7247 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001637/0.238, allocations: 1.034 MB / 0.7257 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.2382, allocations: 7.938 kB / 0.7257 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.2383, allocations: 15.8 kB / 0.7257 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.979e-05/0.2384, allocations: 27.75 kB / 0.7258 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.2388, allocations: 75.84 kB / 0.7258 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.239, allocations: 180 kB / 0.726 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.2391, allocations: 61.7 kB / 0.7261 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.2393, allocations: 75.75 kB / 0.7261 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.2394, allocations: 87.48 kB / 0.7262 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.2394, allocations: 16 kB / 0.7262 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.01e-05/0.2395, allocations: 20 kB / 0.7263 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.2395, allocations: 43.84 kB / 0.7263 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.015e-05/0.2396, allocations: 75.59 kB / 0.7264 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.2399, allocations: 195.1 kB / 0.7266 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2399, allocations: 0 / 0.7266 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2399, allocations: 0 / 0.7266 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.24, allocations: 0 / 0.7266 GB, free: 0.5078 MB / 0.5294 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.0009702/0.2409, allocations: 480.4 kB / 0.727 GB, free: 15.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.241, allocations: 16.02 kB / 0.727 GB, free: 15.97 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.2411, allocations: 28.8 kB / 0.7271 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.2415, allocations: 220.6 kB / 0.7273 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.2415, allocations: 12.38 kB / 0.7273 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.2415, allocations: 16.38 kB / 0.7273 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.2419, allocations: 154.8 kB / 0.7275 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.2419, allocations: 3.984 kB / 0.7275 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.2419, allocations: 12 kB / 0.7275 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.242, allocations: 4 kB / 0.7275 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/0.2423, allocations: 103.8 kB / 0.7276 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.2436, allocations: 0.5429 MB / 0.7281 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.244, allocations: 126.7 kB / 0.7282 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.2442, allocations: 80.77 kB / 0.7283 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.2442, allocations: 11.98 kB / 0.7283 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000257/0.2445, allocations: 115.3 kB / 0.7284 GB, free: 14.44 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/0.2445, allocations: 3.938 kB / 0.7284 GB, free: 14.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.0006133/0.2451, allocations: 223.3 kB / 0.7286 GB, free: 14.21 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.2451, allocations: 55.41 kB / 0.7287 GB, free: 14.15 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.2453, allocations: 167.1 kB / 0.7288 GB, free: 13.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.2453, allocations: 29.7 kB / 0.7289 GB, free: 13.94 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.291e-05/0.2454, allocations: 120.5 kB / 0.729 GB, free: 13.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.513e-05/0.2455, allocations: 71.41 kB / 0.7291 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.397e-05/0.2456, allocations: 37.7 kB / 0.7291 GB, free: 13.71 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.2457, allocations: 326.8 kB / 0.7294 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.246, allocations: 67.95 kB / 0.7295 GB, free: 13.31 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.2462, allocations: 96.66 kB / 0.7296 GB, free: 13.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.2466, allocations: 140.4 kB / 0.7297 GB, free: 13.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2466, allocations: 3.938 kB / 0.7297 GB, free: 13.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005641/0.2472, allocations: 221.4 kB / 0.7299 GB, free: 12.85 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2472, allocations: 4 kB / 0.7299 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2472, allocations: 0 / 0.7299 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.2472, allocations: 4 kB / 0.7299 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.2474, allocations: 35.97 kB / 0.73 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2474, allocations: 4 kB / 0.73 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.2476, allocations: 27.81 kB / 0.73 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.2476, allocations: 11.98 kB / 0.73 GB, free: 12.76 MB / 0.545 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.0001414/0.2477, allocations: 133.8 kB / 0.7301 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.2478, allocations: 15.91 kB / 0.7301 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004834/0.2483, allocations: 194.7 kB / 0.7303 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.2483, allocations: 4 kB / 0.7303 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2483, allocations: 0 / 0.7303 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.2483, allocations: 3.984 kB / 0.7303 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.2493, allocations: 0.5812 MB / 0.7309 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2493, allocations: 8.188 kB / 0.7309 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.2495, allocations: 35.97 kB / 0.7309 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/0.2495, allocations: 7.938 kB / 0.731 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.2495, allocations: 4 kB / 0.731 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.2495, allocations: 3.938 kB / 0.731 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.2496, allocations: 8 kB / 0.731 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006745/0.2502, allocations: 382.1 kB / 0.7313 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/0.2503, allocations: 100.9 kB / 0.7314 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.2503, allocations: 8 kB / 0.7314 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.2505, allocations: 15.98 kB / 0.7314 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.794e-05/0.2506, allocations: 23.97 kB / 0.7315 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.2506, allocations: 4 kB / 0.7315 GB, free: 11.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001025/0.2507, allocations: 119.2 kB / 0.7316 GB, free: 10.99 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2507, allocations: 0 / 0.7316 GB, free: 10.99 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003/0.251, allocations: 39.89 kB / 0.7316 GB, free: 10.95 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.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.000193/0.2512, allocations: 118.2 kB / 0.7317 GB, free: 10.83 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004759/0.2517, allocations: 147.8 kB / 0.7319 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2517, allocations: 0 / 0.7319 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.2519, allocations: 87.84 kB / 0.732 GB, free: 10.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.2522, allocations: 34.02 kB / 0.732 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007598/0.253, allocations: 378 kB / 0.7324 GB, free: 10.15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.2534, allocations: 0.7166 MB / 0.7331 GB, free: 9.402 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.053e-05/0.2535, allocations: 21.42 kB / 0.7331 GB, free: 9.383 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.487e-05/0.2535, allocations: 23.36 kB / 0.7331 GB, free: 9.359 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.2535, allocations: 4 kB / 0.7331 GB, free: 9.355 MB / 0.545 GB Notification: Performance of Templates: time 0.005865/0.2594, allocations: 1.786 MB / 0.7348 GB, free: 7.586 MB / 0.545 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.512346675153822] Failed to read output from testmodel.py, exit status != 0: 0.26822324888780713 0.28313537099999997 0.03994913 Calling exit ...