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.001302/0.001302, allocations: 93.91 kB / 20.48 MB, free: 1.359 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.001408/0.001408, allocations: 215.1 kB / 23.78 MB, free: 4.516 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.9964/0.9964, allocations: 150 MB / 463.9 MB, free: 10.23 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="cs",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.001963/0.001963, allocations: 60.5 kB / 0.642 GB, free: 9.895 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1888, allocations: 89.18 MB / 0.7291 GB, free: 0.793 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002434/0.1912, allocations: 0.9756 MB / 0.73 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.1927, allocations: 1.03 MB / 0.7311 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.1928, allocations: 7.938 kB / 0.7311 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.193, allocations: 23.73 kB / 0.7311 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.78e-05/0.1931, allocations: 15.81 kB / 0.7311 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.1934, allocations: 75.84 kB / 0.7312 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000234/0.1936, allocations: 180 kB / 0.7313 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.1938, allocations: 64.72 kB / 0.7314 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1939, allocations: 75.7 kB / 0.7315 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.1941, allocations: 79.61 kB / 0.7316 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.354e-05/0.1941, allocations: 16 kB / 0.7316 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.796e-05/0.1942, allocations: 20 kB / 0.7316 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.1942, allocations: 35.91 kB / 0.7316 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.901e-05/0.1943, allocations: 67.64 kB / 0.7317 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.1946, allocations: 191.1 kB / 0.7319 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1946, allocations: 0 / 0.7319 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1946, allocations: 4 kB / 0.7319 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.1946, allocations: 0 / 0.7319 GB, free: 13.93 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.0008776/0.1955, allocations: 426.4 kB / 0.7323 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1955, allocations: 8.031 kB / 0.7323 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.55e-05/0.1955, allocations: 4.188 kB / 0.7323 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.074e-05/0.1956, allocations: 50.73 kB / 0.7323 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.939e-05/0.1957, allocations: 24.78 kB / 0.7324 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.196, allocations: 182.6 kB / 0.7325 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.196, allocations: 12.38 kB / 0.7325 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.196, allocations: 16.12 kB / 0.7326 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/0.1964, allocations: 180.4 kB / 0.7327 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1964, allocations: 0 / 0.7327 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.1964, allocations: 4 kB / 0.7327 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.1964, allocations: 4 kB / 0.7327 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.1967, allocations: 108.5 kB / 0.7328 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.1978, allocations: 495.1 kB / 0.7333 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.1982, allocations: 130.7 kB / 0.7334 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.1984, allocations: 80.83 kB / 0.7335 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.1985, allocations: 3.938 kB / 0.7335 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002889/0.1987, allocations: 151.2 kB / 0.7337 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.1987, allocations: 0 / 0.7337 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.0006101/0.1994, allocations: 221.5 kB / 0.7339 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.1994, allocations: 55.41 kB / 0.7339 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.1996, allocations: 157.5 kB / 0.7341 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.1996, allocations: 33.7 kB / 0.7341 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.1997, allocations: 120.4 kB / 0.7342 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.65e-05/0.1998, allocations: 71.42 kB / 0.7343 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.477e-05/0.1999, allocations: 41.7 kB / 0.7343 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.2, allocations: 322.8 kB / 0.7346 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.2002, allocations: 63.95 kB / 0.7347 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.2005, allocations: 93.61 kB / 0.7348 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.2008, allocations: 144.7 kB / 0.7349 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2008, allocations: 0 / 0.7349 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005149/0.2013, allocations: 213.4 kB / 0.7351 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2014, allocations: 4 kB / 0.7351 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2014, allocations: 0 / 0.7351 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.2014, allocations: 4 kB / 0.7351 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.2016, allocations: 43.94 kB / 0.7352 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.2016, allocations: 0 / 0.7352 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.2017, allocations: 27.88 kB / 0.7352 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.2018, allocations: 8 kB / 0.7352 GB, free: 10.28 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.0001391/0.2019, allocations: 125.8 kB / 0.7353 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.2019, allocations: 15.91 kB / 0.7354 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004697/0.2024, allocations: 200.8 kB / 0.7355 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.2024, allocations: 7.938 kB / 0.7356 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2024, allocations: 3.938 kB / 0.7356 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2024, allocations: 0 / 0.7356 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009412/0.2034, allocations: 0.5374 MB / 0.7361 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2034, allocations: 8.188 kB / 0.7361 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.2035, allocations: 43.84 kB / 0.7361 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.2035, allocations: 0 / 0.7361 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.2036, allocations: 8 kB / 0.7361 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.2036, allocations: 4 kB / 0.7361 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2036, allocations: 0 / 0.7361 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006196/0.2042, allocations: 386.6 kB / 0.7365 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.2042, allocations: 23.84 kB / 0.7365 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.2043, allocations: 4 kB / 0.7365 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.2044, allocations: 19.98 kB / 0.7366 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.2045, allocations: 27.95 kB / 0.7366 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.2045, allocations: 4 kB / 0.7366 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.28e-05/0.2046, allocations: 119.2 kB / 0.7367 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2046, allocations: 0 / 0.7367 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002873/0.2049, allocations: 35.95 kB / 0.7367 GB, free: 8.605 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.001036/0.2059, allocations: 0.9297 MB / 0.7376 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004467/0.2064, allocations: 147.9 kB / 0.7378 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2064, allocations: 0 / 0.7378 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.2066, allocations: 95.64 kB / 0.7379 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.2069, allocations: 27.92 kB / 0.7379 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.2099, allocations: 2.126 MB / 0.74 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.21, allocations: 112.2 kB / 0.7401 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.348e-05/0.2101, allocations: 17.42 kB / 0.7401 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.2102, allocations: 51.42 kB / 0.7402 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.2102, allocations: 0 / 0.7402 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02661/0.2368, allocations: 3.929 MB / 0.744 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.85, allocations: 8.125 kB / 0.744 GB, free: 1.164 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.741759010008536] Failed to read output from testmodel.py, exit status != 0: 12.013015152071603 12.029831352 11.832057158 Calling exit ...