Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.001391/0.001391, allocations: 105 kB / 20.48 MB, free: 1.488 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.001541/0.001541, allocations: 213.8 kB / 23.79 MB, free: 4.703 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.582/1.582, allocations: 230.6 MB / 257.6 MB, free: 8.02 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.9736/0.9736, allocations: 150 MB / 464 MB, free: 10.53 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.Hysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis",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.002099/0.002099, allocations: 66.89 kB / 0.6421 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1965, allocations: 89.17 MB / 0.7292 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002066/0.1985, allocations: 0.8306 MB / 0.73 GB, free: 432 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1998, allocations: 0.9327 MB / 0.7309 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.889e-05/0.1998, allocations: 4 kB / 0.7309 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.72e-05/0.1999, allocations: 11.81 kB / 0.7309 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.2, allocations: 15.81 kB / 0.7309 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.2003, allocations: 43.92 kB / 0.731 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.2004, allocations: 115.6 kB / 0.7311 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.2006, allocations: 25.28 kB / 0.7311 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.2008, allocations: 51.78 kB / 0.7311 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.2009, allocations: 59.75 kB / 0.7312 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.2009, allocations: 12 kB / 0.7312 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.386e-05/0.201, allocations: 16 kB / 0.7312 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.337e-05/0.201, allocations: 27.91 kB / 0.7312 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.2011, allocations: 51.72 kB / 0.7313 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.2013, allocations: 123.7 kB / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2013, allocations: 0 / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2013, allocations: 0 / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2013, allocations: 0 / 0.7314 GB, free: 14.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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007751/0.2021, allocations: 377.6 kB / 0.7318 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.2021, allocations: 8.031 kB / 0.7318 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.19e-05/0.2021, allocations: 4.188 kB / 0.7318 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.858e-05/0.2022, allocations: 34.75 kB / 0.7318 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002929/0.2025, allocations: 32.86 kB / 0.7319 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.203, allocations: 195.2 kB / 0.732 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.203, allocations: 8.375 kB / 0.732 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.203, allocations: 4.375 kB / 0.7321 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.2033, allocations: 124.2 kB / 0.7322 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2034, allocations: 0 / 0.7322 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.2034, allocations: 7.938 kB / 0.7322 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2034, allocations: 3.938 kB / 0.7322 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.2037, allocations: 79.91 kB / 0.7323 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006944/0.2044, allocations: 476.1 kB / 0.7327 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.2047, allocations: 107.8 kB / 0.7328 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.2048, allocations: 62.53 kB / 0.7329 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.2049, allocations: 8.062 kB / 0.7329 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.2049, allocations: 34.5 kB / 0.7329 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2049, allocations: 0 / 0.7329 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0006224/0.2055, allocations: 165.6 kB / 0.7331 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/0.2056, allocations: 106.8 kB / 0.7332 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.2057, allocations: 141.5 kB / 0.7333 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.2057, allocations: 33.7 kB / 0.7333 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.792e-05/0.2058, allocations: 108.5 kB / 0.7334 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.03e-05/0.2059, allocations: 31.78 kB / 0.7335 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.2059, allocations: 29.7 kB / 0.7335 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2061, allocations: 326.8 kB / 0.7338 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.2062, allocations: 39.97 kB / 0.7339 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.2064, allocations: 91.61 kB / 0.7339 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.2067, allocations: 86.55 kB / 0.734 GB, free: 12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2067, allocations: 4 kB / 0.734 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003694/0.2071, allocations: 137.5 kB / 0.7342 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.2071, allocations: 4 kB / 0.7342 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2071, allocations: 3.984 kB / 0.7342 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.2071, allocations: 4 kB / 0.7342 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.2073, allocations: 19.92 kB / 0.7342 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.2073, allocations: 4 kB / 0.7342 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.2074, allocations: 19.94 kB / 0.7342 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.2075, allocations: 15.92 kB / 0.7342 GB, free: 11.78 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001193/0.2076, allocations: 113.8 kB / 0.7343 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.128e-05/0.2076, allocations: 11.95 kB / 0.7343 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.2079, allocations: 89.92 kB / 0.7344 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.2079, allocations: 4 kB / 0.7344 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.2079, allocations: 0 / 0.7344 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2079, allocations: 3.938 kB / 0.7344 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.2083, allocations: 176.6 kB / 0.7346 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.2083, allocations: 0 / 0.7346 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.2084, allocations: 23.97 kB / 0.7346 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2084, allocations: 0 / 0.7346 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.2084, allocations: 64 / 0.7346 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.2084, allocations: 8 kB / 0.7346 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2084, allocations: 0 / 0.7346 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005007/0.2089, allocations: 385.8 kB / 0.735 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.2089, allocations: 11.89 kB / 0.735 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.209, allocations: 4 kB / 0.735 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.2092, allocations: 11.98 kB / 0.735 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/0.2093, allocations: 31.89 kB / 0.7351 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.2093, allocations: 7.984 kB / 0.7351 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.306e-05/0.2094, allocations: 109.9 kB / 0.7352 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2094, allocations: 0 / 0.7352 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003208/0.2097, allocations: 23.95 kB / 0.7352 GB, free: 10.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008696/0.2105, allocations: 0.8945 MB / 0.7361 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003854/0.2109, allocations: 104.1 kB / 0.7362 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2109, allocations: 0 / 0.7362 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.2112, allocations: 51.89 kB / 0.7362 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.2117, allocations: 18.44 kB / 0.7362 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.2142, allocations: 1.809 MB / 0.738 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.2145, allocations: 0.7039 MB / 0.7387 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.609e-05/0.2146, allocations: 16.64 kB / 0.7387 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.41e-05/0.2147, allocations: 35.42 kB / 0.7387 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of SimCode: time 1.253e-06/0.2147, allocations: 0 / 0.7387 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.2386, allocations: 2.88 MB / 0.7416 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.5, allocations: 16.19 kB / 0.7416 GB, free: 4.188 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.454047648992855] Failed to read output from testmodel.py, exit status != 0: 11.654451326001436 11.670329071 11.465614754 Calling exit ...