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.001398/0.001398, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.001538/0.001538, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.526/1.526, allocations: 230.6 MB / 254.2 MB, free: 15.06 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.007/1.007, allocations: 150 MB / 460.2 MB, free: 5.238 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: "" <> 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.002015/0.002015, allocations: 70.38 kB / 0.6369 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2182, allocations: 89.14 MB / 0.7239 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.004216/0.2224, allocations: 1.052 MB / 0.7249 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00245/0.2249, allocations: 1.042 MB / 0.726 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002398/0.2251, allocations: 0 / 0.726 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.2253, allocations: 19.73 kB / 0.726 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.2255, allocations: 23.73 kB / 0.726 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005969/0.2261, allocations: 75.84 kB / 0.7261 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004222/0.2265, allocations: 176 kB / 0.7262 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002842/0.2268, allocations: 68.25 kB / 0.7263 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.227, allocations: 71.77 kB / 0.7264 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.2272, allocations: 79.61 kB / 0.7264 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.504e-05/0.2272, allocations: 20 kB / 0.7265 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.882e-05/0.2273, allocations: 20 kB / 0.7265 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.726e-05/0.2274, allocations: 43.83 kB / 0.7265 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.2275, allocations: 75.59 kB / 0.7266 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004354/0.228, allocations: 187.1 kB / 0.7268 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.228, allocations: 0 / 0.7268 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.475e-06/0.228, allocations: 0 / 0.7268 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.228, allocations: 0 / 0.7268 GB, free: 0.9961 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.001265/0.2292, allocations: 490.6 kB / 0.7272 GB, free: 476 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/0.2293, allocations: 15.97 kB / 0.7273 GB, free: 460 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.851e-05/0.2293, allocations: 4.188 kB / 0.7273 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.781e-05/0.2294, allocations: 50.67 kB / 0.7273 GB, free: 396 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.2296, allocations: 20.8 kB / 0.7273 GB, free: 376 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005653/0.2302, allocations: 224.6 kB / 0.7275 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.2302, allocations: 16.38 kB / 0.7276 GB, free: 96 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/0.2303, allocations: 16.12 kB / 0.7276 GB, free: 80 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00057/0.2308, allocations: 158.7 kB / 0.7277 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.2308, allocations: 0 / 0.7277 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.2309, allocations: 4 kB / 0.7277 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.2309, allocations: 4 kB / 0.7277 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/0.2312, allocations: 111.8 kB / 0.7278 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.2329, allocations: 0.5351 MB / 0.7284 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006064/0.2335, allocations: 138.7 kB / 0.7285 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003039/0.2338, allocations: 82.06 kB / 0.7286 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.2338, allocations: 0 / 0.7286 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003816/0.2342, allocations: 125.5 kB / 0.7287 GB, free: 14.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 2.525e-06/0.2342, allocations: 3.938 kB / 0.7287 GB, free: 14.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.0008959/0.2351, allocations: 221.5 kB / 0.7289 GB, free: 14.63 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.2352, allocations: 51.41 kB / 0.729 GB, free: 14.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.2354, allocations: 163.1 kB / 0.7291 GB, free: 14.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/0.2355, allocations: 37.69 kB / 0.7292 GB, free: 14.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.2356, allocations: 120.5 kB / 0.7293 GB, free: 14.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.786e-05/0.2357, allocations: 63.44 kB / 0.7293 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.2358, allocations: 45.7 kB / 0.7294 GB, free: 14.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.236, allocations: 322.8 kB / 0.7297 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.2363, allocations: 67.95 kB / 0.7297 GB, free: 13.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/0.2367, allocations: 93.47 kB / 0.7298 GB, free: 13.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005966/0.2373, allocations: 148.6 kB / 0.73 GB, free: 13.49 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.2373, allocations: 4 kB / 0.73 GB, free: 13.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008021/0.2381, allocations: 209.4 kB / 0.7302 GB, free: 13.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.2381, allocations: 8 kB / 0.7302 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2381, allocations: 0 / 0.7302 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.2381, allocations: 0 / 0.7302 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.2384, allocations: 48 kB / 0.7302 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.2384, allocations: 0 / 0.7302 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.2386, allocations: 23.88 kB / 0.7303 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.2386, allocations: 11.94 kB / 0.7303 GB, free: 13.18 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.0001567/0.2388, allocations: 137.7 kB / 0.7304 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.2388, allocations: 11.91 kB / 0.7304 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006859/0.2395, allocations: 204.2 kB / 0.7306 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.2395, allocations: 3.984 kB / 0.7306 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.2395, allocations: 0 / 0.7306 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.2395, allocations: 0 / 0.7306 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.2408, allocations: 0.5851 MB / 0.7312 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.2408, allocations: 0 / 0.7312 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/0.2411, allocations: 43.91 kB / 0.7312 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.2411, allocations: 0 / 0.7312 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.2411, allocations: 4 kB / 0.7312 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.408e-06/0.2411, allocations: 7.938 kB / 0.7312 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.2411, allocations: 4.188 kB / 0.7312 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009269/0.2421, allocations: 393.8 kB / 0.7316 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.803e-05/0.2422, allocations: 93.11 kB / 0.7317 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.2422, allocations: 11.94 kB / 0.7317 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.2424, allocations: 16.02 kB / 0.7317 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.148e-05/0.2425, allocations: 19.97 kB / 0.7317 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/0.2426, allocations: 12 kB / 0.7318 GB, free: 11.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001375/0.2427, allocations: 119.2 kB / 0.7319 GB, free: 11.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2427, allocations: 0 / 0.7319 GB, free: 11.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004676/0.2432, allocations: 35.89 kB / 0.7319 GB, free: 11.36 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.001373/0.2445, allocations: 0.9125 MB / 0.7328 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006593/0.2452, allocations: 169.9 kB / 0.733 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2452, allocations: 0 / 0.733 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002939/0.2455, allocations: 82.34 kB / 0.733 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005504/0.246, allocations: 23.92 kB / 0.7331 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004626/0.2507, allocations: 2.149 MB / 0.7352 GB, free: 7.863 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/0.2512, allocations: 0.7205 MB / 0.7359 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001148/0.2513, allocations: 17.42 kB / 0.7359 GB, free: 7.098 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.2515, allocations: 55.41 kB / 0.7359 GB, free: 7.043 MB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/0.2515, allocations: 0 / 0.7359 GB, free: 7.043 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/0.2812, allocations: 3.662 MB / 0.7395 GB, free: 3.52 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.582/8.863, allocations: 8.031 kB / 0.7395 GB, free: 3.512 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.914228993991856] Failed to read output from testmodel.py, exit status != 0: 8.990439624001738 9.006515602 8.775427063 Calling exit ...