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.001353/0.001353, allocations: 97.11 kB / 19.74 MB, free: 1.871 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.001431/0.001431, allocations: 211 kB / 23.04 MB, free: 5.008 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.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 7.73 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.9941/0.9941, allocations: 150 MB / 463.2 MB, free: 10.16 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_LessThreshold",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.002078/0.002078, allocations: 62.09 kB / 0.6413 GB, free: 9.789 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1971, allocations: 89.17 MB / 0.7284 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002137/0.1993, allocations: 0.7901 MB / 0.7292 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.2006, allocations: 0.9054 MB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.344e-05/0.2007, allocations: 4 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.2009, allocations: 15.81 kB / 0.7301 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.226e-05/0.2009, allocations: 7.875 kB / 0.7301 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.2012, allocations: 31.95 kB / 0.7301 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.2013, allocations: 83.7 kB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.2014, allocations: 16 kB / 0.7302 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.2015, allocations: 39.91 kB / 0.7302 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.578e-05/0.2016, allocations: 27.84 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.2016, allocations: 4 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.204e-05/0.2017, allocations: 8 kB / 0.7303 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.2017, allocations: 19.86 kB / 0.7303 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.2017, allocations: 23.88 kB / 0.7303 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.2019, allocations: 91.83 kB / 0.7304 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2019, allocations: 0 / 0.7304 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2019, allocations: 4 kB / 0.7304 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.2019, allocations: 0 / 0.7304 GB, free: 14.62 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.000555/0.2025, allocations: 310 kB / 0.7307 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.2025, allocations: 12.03 kB / 0.7307 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.13e-05/0.2025, allocations: 34.75 kB / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.2027, allocations: 20.83 kB / 0.7308 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.203, allocations: 144.6 kB / 0.7309 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.203, allocations: 8.312 kB / 0.7309 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.203, allocations: 4.375 kB / 0.7309 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.2031, allocations: 62.23 kB / 0.731 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2032, allocations: 3.938 kB / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.2032, allocations: 4 kB / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2032, allocations: 0 / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.2033, allocations: 35.97 kB / 0.731 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.2038, allocations: 275.7 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.2039, allocations: 58.52 kB / 0.7313 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.152e-05/0.204, allocations: 20.92 kB / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.204, allocations: 0 / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.204, allocations: 30.56 kB / 0.7314 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.204, allocations: 3.938 kB / 0.7314 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002636/0.2043, allocations: 81.7 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.2043, allocations: 51.41 kB / 0.7315 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.2044, allocations: 129.8 kB / 0.7316 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.2045, allocations: 29.7 kB / 0.7317 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.2045, allocations: 96.09 kB / 0.7318 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.2045, allocations: 11.94 kB / 0.7318 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.2046, allocations: 21.66 kB / 0.7318 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2047, allocations: 326.8 kB / 0.7321 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.874e-05/0.2048, allocations: 12 kB / 0.7321 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.452e-05/0.2048, allocations: 15.98 kB / 0.7321 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.53e-05/0.2049, allocations: 25.12 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2049, allocations: 0 / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001456/0.2051, allocations: 73.61 kB / 0.7322 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.2051, allocations: 8 kB / 0.7322 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2051, allocations: 0 / 0.7322 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2051, allocations: 0 / 0.7322 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.539e-05/0.2052, allocations: 7.938 kB / 0.7322 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2052, allocations: 0 / 0.7322 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.141e-05/0.2052, allocations: 19.98 kB / 0.7323 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.2053, allocations: 3.938 kB / 0.7323 GB, free: 12.52 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 8.942e-05/0.2053, allocations: 113.8 kB / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.2054, allocations: 11.94 kB / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/0.2054, allocations: 8.344 kB / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2054, allocations: 4 kB / 0.7324 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2054, allocations: 0 / 0.7324 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2054, allocations: 0 / 0.7324 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.2056, allocations: 148.7 kB / 0.7325 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2056, allocations: 0 / 0.7325 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.2056, allocations: 7.984 kB / 0.7326 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2056, allocations: 0 / 0.7326 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.2056, allocations: 0 / 0.7326 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2056, allocations: 0 / 0.7326 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2056, allocations: 4 kB / 0.7326 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.2058, allocations: 167.4 kB / 0.7327 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.2058, allocations: 7.891 kB / 0.7327 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.2059, allocations: 11.94 kB / 0.7327 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.206, allocations: 7.984 kB / 0.7327 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.206, allocations: 11.92 kB / 0.7328 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.206, allocations: 0 / 0.7328 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.184e-05/0.2061, allocations: 117.3 kB / 0.7329 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2061, allocations: 0 / 0.7329 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002241/0.2063, allocations: 8 kB / 0.7329 GB, free: 11.83 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.0005094/0.2068, allocations: 0.689 MB / 0.7335 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001627/0.207, allocations: 35.92 kB / 0.7336 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.207, allocations: 0 / 0.7336 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.632e-05/0.2071, allocations: 15.98 kB / 0.7336 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.2074, allocations: 6.406 kB / 0.7336 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.2089, allocations: 1.389 MB / 0.735 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.607e-05/0.209, allocations: 79.27 kB / 0.735 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.768e-05/0.209, allocations: 3.984 kB / 0.735 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.932e-05/0.2091, allocations: 27.42 kB / 0.7351 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.2091, allocations: 0 / 0.7351 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03017/0.2392, allocations: 2.577 MB / 0.7376 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.2, allocations: 3.453 kB / 0.7376 GB, free: 7.039 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 sys.exit(0), Time elapsed: 15.184365286957473] Failed to read output from testmodel.py, exit status != 0: 11.30789318215102 11.333469595 11.125913879 Calling exit ...