Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.001281/0.001281, allocations: 109 kB / 20.48 MB, free: 1.477 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.001516/0.001516, allocations: 213.8 kB / 23.79 MB, free: 4.684 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.492/1.492, allocations: 230.6 MB / 257.6 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 0.9854/0.9854, allocations: 150 MB / 464 MB, free: 10.5 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.LessThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_LessThreshold",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.002057/0.002057, allocations: 62.16 kB / 0.6421 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.195, allocations: 89.18 MB / 0.7292 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002293/0.1973, allocations: 0.8073 MB / 0.73 GB, free: 476 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.1986, allocations: 0.9172 MB / 0.7308 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.378e-05/0.1987, allocations: 7.938 kB / 0.7309 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.1988, allocations: 11.88 kB / 0.7309 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.409e-05/0.1989, allocations: 11.86 kB / 0.7309 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.1991, allocations: 35.91 kB / 0.7309 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.1992, allocations: 75.77 kB / 0.731 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1994, allocations: 16 kB / 0.731 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.1995, allocations: 43.83 kB / 0.731 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.122e-05/0.1996, allocations: 27.86 kB / 0.7311 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.1996, allocations: 8 kB / 0.7311 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.346e-05/0.1997, allocations: 15.94 kB / 0.7311 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.1997, allocations: 11.92 kB / 0.7311 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.1997, allocations: 31.81 kB / 0.7311 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.1999, allocations: 87.83 kB / 0.7312 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1999, allocations: 3.938 kB / 0.7312 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1999, allocations: 0 / 0.7312 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.1999, allocations: 0 / 0.7312 GB, free: 15.15 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005046/0.2004, allocations: 322 kB / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2004, allocations: 8.031 kB / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.808e-05/0.2005, allocations: 8.172 kB / 0.7315 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.194e-05/0.2005, allocations: 34.75 kB / 0.7316 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.2006, allocations: 20.83 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.2009, allocations: 142.4 kB / 0.7317 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.2009, allocations: 8.375 kB / 0.7317 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.2009, allocations: 4.375 kB / 0.7317 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.2011, allocations: 69.92 kB / 0.7318 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2011, allocations: 0 / 0.7318 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.2011, allocations: 0 / 0.7318 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2011, allocations: 0 / 0.7318 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.2012, allocations: 35.97 kB / 0.7318 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.2017, allocations: 291.7 kB / 0.7321 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.2019, allocations: 46.56 kB / 0.7322 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.592e-05/0.2019, allocations: 17 kB / 0.7322 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.2019, allocations: 4 kB / 0.7322 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.202, allocations: 34.56 kB / 0.7322 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.202, allocations: 96 / 0.7322 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002711/0.2022, allocations: 77.56 kB / 0.7323 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.2023, allocations: 51.41 kB / 0.7323 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.2024, allocations: 137.8 kB / 0.7325 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.2024, allocations: 25.7 kB / 0.7325 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/0.2025, allocations: 100.1 kB / 0.7326 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.2025, allocations: 3.953 kB / 0.7326 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.2026, allocations: 25.7 kB / 0.7326 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.2027, allocations: 322.8 kB / 0.7329 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.57e-05/0.2028, allocations: 15.98 kB / 0.7329 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.712e-05/0.2028, allocations: 20.11 kB / 0.733 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.797e-05/0.2029, allocations: 36.8 kB / 0.733 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2029, allocations: 0 / 0.733 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001537/0.2031, allocations: 69.62 kB / 0.7331 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2031, allocations: 9.719 kB / 0.7331 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2031, allocations: 0 / 0.7331 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.2031, allocations: 4 kB / 0.7331 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.507e-05/0.2032, allocations: 0 / 0.7331 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2032, allocations: 4 kB / 0.7331 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/0.2033, allocations: 11.92 kB / 0.7331 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.2033, allocations: 4 kB / 0.7331 GB, free: 13.03 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.323e-05/0.2034, allocations: 113.8 kB / 0.7332 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.2034, allocations: 11.95 kB / 0.7332 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/0.2034, allocations: 12.33 kB / 0.7332 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2034, allocations: 3.938 kB / 0.7332 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2034, allocations: 0 / 0.7332 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2034, allocations: 3.938 kB / 0.7332 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.2036, allocations: 148.7 kB / 0.7334 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2036, allocations: 0 / 0.7334 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.2037, allocations: 4 kB / 0.7334 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2037, allocations: 0 / 0.7334 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.2037, allocations: 11.98 kB / 0.7334 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2037, allocations: 0 / 0.7334 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2037, allocations: 8 kB / 0.7334 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.2039, allocations: 159.4 kB / 0.7336 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.2039, allocations: 7.891 kB / 0.7336 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.2039, allocations: 4 kB / 0.7336 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.894e-05/0.204, allocations: 7.984 kB / 0.7336 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.2041, allocations: 11.98 kB / 0.7336 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.2041, allocations: 7.938 kB / 0.7336 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.015e-05/0.2041, allocations: 111.1 kB / 0.7337 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2041, allocations: 0 / 0.7337 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002188/0.2044, allocations: 8 kB / 0.7337 GB, free: 12.33 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005081/0.2049, allocations: 0.6929 MB / 0.7344 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.205, allocations: 27.98 kB / 0.7344 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.205, allocations: 3.938 kB / 0.7344 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.984e-05/0.2051, allocations: 24.16 kB / 0.7344 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.2054, allocations: 13.97 kB / 0.7344 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.2068, allocations: 1.377 MB / 0.7358 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.2071, allocations: 0.6924 MB / 0.7365 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.064e-05/0.2072, allocations: 11.92 kB / 0.7365 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/0.2072, allocations: 19.44 kB / 0.7365 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.2072, allocations: 3.938 kB / 0.7365 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.2285, allocations: 2.132 MB / 0.7386 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.32, allocations: 9.562 kB / 0.7386 GB, free: 7.359 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.16153249697527] Failed to read output from testmodel.py, exit status != 0: 11.487167462008074 11.505079492 11.301920522 Calling exit ...