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.001402/0.001402, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.00159/0.00159, allocations: 216.5 kB / 22.99 MB, free: 4.977 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.599/1.599, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.069/1.069, allocations: 149.9 MB / 463 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 178] 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.002112/0.002112, allocations: 62.22 kB / 0.6411 GB, free: 10.08 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1929, allocations: 89.18 MB / 0.7282 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002136/0.195, allocations: 0.7864 MB / 0.729 GB, free: 192 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1962, allocations: 0.9055 MB / 0.7299 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.345e-05/0.1963, allocations: 7.938 kB / 0.7299 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.1964, allocations: 7.875 kB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.853e-05/0.1964, allocations: 15.88 kB / 0.7299 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.1966, allocations: 27.91 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.1968, allocations: 75.78 kB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.1969, allocations: 27.97 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.197, allocations: 31.86 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.93e-05/0.1971, allocations: 31.78 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.1971, allocations: 4 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.418e-05/0.1972, allocations: 12 kB / 0.7301 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.1972, allocations: 19.97 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.1972, allocations: 23.81 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.1974, allocations: 83.89 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.1974, allocations: 4 kB / 0.7302 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.154e-06/0.1974, allocations: 0 / 0.7302 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.1974, allocations: 0 / 0.7302 GB, free: 14.9 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.000595/0.198, allocations: 318 kB / 0.7305 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.198, allocations: 8.031 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.1981, allocations: 38.75 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.1982, allocations: 24.83 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.1985, allocations: 134.4 kB / 0.7307 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.1985, allocations: 8.375 kB / 0.7307 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.1985, allocations: 384 / 0.7307 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.1987, allocations: 66.11 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1987, allocations: 3.938 kB / 0.7308 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1987, allocations: 8 kB / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1987, allocations: 7.938 kB / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.1988, allocations: 31.97 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.1993, allocations: 283.7 kB / 0.7311 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.1995, allocations: 42.56 kB / 0.7311 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.604e-05/0.1995, allocations: 21 kB / 0.7312 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.1996, allocations: 0 / 0.7312 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.1996, allocations: 38.56 kB / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1996, allocations: 0 / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002531/0.1999, allocations: 73.66 kB / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.1999, allocations: 59.39 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.2, allocations: 136.5 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.2, allocations: 25.7 kB / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.2001, allocations: 96.09 kB / 0.7316 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.2001, allocations: 7.938 kB / 0.7316 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.2002, allocations: 17.72 kB / 0.7316 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2003, allocations: 326.8 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-05/0.2004, allocations: 16 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.551e-05/0.2004, allocations: 16.17 kB / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.888e-05/0.2005, allocations: 28.92 kB / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2005, allocations: 8 kB / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001416/0.2006, allocations: 69.56 kB / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.2007, allocations: 4 kB / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.2007, allocations: 4 kB / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2007, allocations: 0 / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.872e-05/0.2007, allocations: 8 kB / 0.7321 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2007, allocations: 0 / 0.7321 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.2008, allocations: 7.984 kB / 0.7321 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.2008, allocations: 7.938 kB / 0.7321 GB, free: 12.8 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.496e-05/0.2009, allocations: 113.8 kB / 0.7322 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.201, allocations: 7.953 kB / 0.7322 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.201, allocations: 12.33 kB / 0.7322 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.201, allocations: 0 / 0.7322 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.201, allocations: 0 / 0.7322 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.201, allocations: 0 / 0.7322 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.2012, allocations: 156.7 kB / 0.7323 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2012, allocations: 0 / 0.7323 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.006e-05/0.2012, allocations: 7.875 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2012, allocations: 4 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.2012, allocations: 7.922 kB / 0.7324 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2012, allocations: 0 / 0.7324 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2012, allocations: 0 / 0.7324 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.2014, allocations: 159.4 kB / 0.7325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.094e-05/0.2014, allocations: 11.89 kB / 0.7325 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.2015, allocations: 0 / 0.7325 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.2016, allocations: 19.98 kB / 0.7325 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.2016, allocations: 7.984 kB / 0.7326 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.2016, allocations: 0 / 0.7326 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.6e-05/0.2017, allocations: 107.1 kB / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2017, allocations: 0 / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002199/0.2019, allocations: 8 kB / 0.7327 GB, free: 12.11 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.0005151/0.2024, allocations: 0.6968 MB / 0.7333 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001454/0.2026, allocations: 31.98 kB / 0.7334 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2026, allocations: 0 / 0.7334 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.661e-05/0.2026, allocations: 24.16 kB / 0.7334 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.2029, allocations: 4 kB / 0.7334 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.2044, allocations: 1.377 MB / 0.7347 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.297e-05/0.2045, allocations: 79.27 kB / 0.7348 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.011e-05/0.2045, allocations: 7.984 kB / 0.7348 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.2046, allocations: 23.44 kB / 0.7349 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2046, allocations: 0 / 0.7349 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.2346, allocations: 2.582 MB / 0.7374 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.2, allocations: 8.969 kB / 0.7374 GB, free: 7.312 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.295906168874353] Failed to read output from testmodel.py, exit status != 0: 11.302016305737197 11.320720678 11.120040214 Calling exit ...