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.001228/0.001228, 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.001499/0.001499, allocations: 219.4 kB / 23.01 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.054/1.054, allocations: 150 MB / 463.2 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) [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.003023/0.003023, allocations: 66.11 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1969, allocations: 89.17 MB / 0.7284 GB, free: 1.262 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002649/0.1995, allocations: 1.055 MB / 0.7294 GB, free: 212 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.2012, allocations: 1.042 MB / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.2013, allocations: 7.938 kB / 0.7305 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.2015, allocations: 19.73 kB / 0.7305 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.252e-05/0.2015, allocations: 23.8 kB / 0.7305 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.2019, allocations: 71.8 kB / 0.7306 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.2021, allocations: 184 kB / 0.7307 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.2023, allocations: 64.67 kB / 0.7308 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.2024, allocations: 75.75 kB / 0.7309 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.2025, allocations: 83.56 kB / 0.731 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.2026, allocations: 16 kB / 0.731 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.201e-05/0.2026, allocations: 20 kB / 0.731 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.436e-05/0.2027, allocations: 39.89 kB / 0.731 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.012e-05/0.2028, allocations: 75.53 kB / 0.7311 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.203, allocations: 191.1 kB / 0.7313 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2031, allocations: 0 / 0.7313 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2031, allocations: 0 / 0.7313 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.2031, allocations: 0 / 0.7313 GB, free: 14.29 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.0008898/0.204, allocations: 434.3 kB / 0.7317 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.204, allocations: 8.031 kB / 0.7317 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.742e-05/0.2041, allocations: 46.73 kB / 0.7317 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.2042, allocations: 24.8 kB / 0.7318 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.2045, allocations: 163.5 kB / 0.7319 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.2045, allocations: 12.38 kB / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.374e-05/0.2046, allocations: 24.38 kB / 0.732 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/0.2049, allocations: 150.6 kB / 0.7321 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.2049, allocations: 0 / 0.7321 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.2049, allocations: 8 kB / 0.7321 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2049, allocations: 0 / 0.7321 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.2052, allocations: 112.5 kB / 0.7322 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.2064, allocations: 0.4992 MB / 0.7327 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.2068, allocations: 139.2 kB / 0.7328 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.207, allocations: 80.84 kB / 0.7329 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.207, allocations: 4 kB / 0.7329 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/0.2072, allocations: 123.2 kB / 0.733 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.783e-06/0.2072, allocations: 4 kB / 0.733 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.0006227/0.2079, allocations: 228.2 kB / 0.7333 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.2079, allocations: 51.41 kB / 0.7333 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.2081, allocations: 159.1 kB / 0.7335 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.2081, allocations: 29.7 kB / 0.7335 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.609e-05/0.2082, allocations: 124.5 kB / 0.7336 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.938e-05/0.2083, allocations: 71.36 kB / 0.7337 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/0.2083, allocations: 45.64 kB / 0.7337 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.2085, allocations: 326.8 kB / 0.734 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.2087, allocations: 75.89 kB / 0.7341 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.2089, allocations: 85.73 kB / 0.7342 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.2093, allocations: 152.3 kB / 0.7343 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2093, allocations: 0 / 0.7343 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004906/0.2098, allocations: 209.4 kB / 0.7345 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.2098, allocations: 7.984 kB / 0.7345 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2098, allocations: 0 / 0.7345 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.2098, allocations: 4 kB / 0.7345 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.21, allocations: 43.95 kB / 0.7346 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.21, allocations: 4 kB / 0.7346 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.2102, allocations: 23.86 kB / 0.7346 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.2102, allocations: 8 kB / 0.7346 GB, free: 10.68 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.0001288/0.2103, allocations: 125.8 kB / 0.7347 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.2103, allocations: 15.91 kB / 0.7348 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004532/0.2108, allocations: 198.6 kB / 0.7349 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.2108, allocations: 4 kB / 0.7349 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2108, allocations: 0 / 0.7349 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2108, allocations: 0 / 0.7349 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008998/0.2117, allocations: 0.5568 MB / 0.7355 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2117, allocations: 4 kB / 0.7355 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.2119, allocations: 35.92 kB / 0.7355 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.2119, allocations: 7.938 kB / 0.7355 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.2119, allocations: 4 kB / 0.7355 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2119, allocations: 0 / 0.7355 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.2119, allocations: 12.17 kB / 0.7356 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006601/0.2126, allocations: 387 kB / 0.7359 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/0.2126, allocations: 19.78 kB / 0.7359 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.2127, allocations: 8 kB / 0.7359 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.2128, allocations: 20.02 kB / 0.736 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.2129, allocations: 15.97 kB / 0.736 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.2129, allocations: 12 kB / 0.736 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000106/0.213, allocations: 122.5 kB / 0.7361 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.213, allocations: 0 / 0.7361 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000286/0.2133, allocations: 39.89 kB / 0.7361 GB, free: 8.988 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.0009697/0.2143, allocations: 0.9202 MB / 0.737 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004578/0.2147, allocations: 153.8 kB / 0.7372 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2147, allocations: 0 / 0.7372 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.2149, allocations: 87.77 kB / 0.7373 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.2153, allocations: 31.92 kB / 0.7373 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.2183, allocations: 2.123 MB / 0.7394 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.2187, allocations: 0.7243 MB / 0.7401 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.952e-05/0.2187, allocations: 13.42 kB / 0.7401 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.2189, allocations: 63.41 kB / 0.7402 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of SimCode: time 3.9e-07/0.2189, allocations: 0 / 0.7402 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03216/0.251, allocations: 3.824 MB / 0.7439 GB, free: 1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.49, allocations: 9.766 kB / 0.7439 GB, free: 0.9961 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-07 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.425185616128147] Failed to read output from testmodel.py, exit status != 0: 11.603404931956902 11.62680266 11.420176944 Calling exit ...