Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.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.001321/0.001321, 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.001582/0.001582, 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9867/0.9867, allocations: 149.9 MB / 463 MB, free: 10.35 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.GreaterThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",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.002115/0.002115, allocations: 63.12 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1918, allocations: 89.18 MB / 0.7282 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002391/0.1942, allocations: 0.784 MB / 0.729 GB, free: 188 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.1958, allocations: 0.9015 MB / 0.7299 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.1959, allocations: 7.938 kB / 0.7299 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.1961, allocations: 15.86 kB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.541e-05/0.1961, allocations: 11.88 kB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.1964, allocations: 27.91 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.1966, allocations: 75.78 kB / 0.73 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.1967, allocations: 31.97 kB / 0.73 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.1969, allocations: 31.86 kB / 0.73 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.864e-05/0.197, allocations: 23.86 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.197, allocations: 4 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.671e-05/0.1971, allocations: 12 kB / 0.7301 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.341e-05/0.1971, allocations: 19.91 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.489e-05/0.1972, allocations: 23.86 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.1974, allocations: 87.84 kB / 0.7302 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1974, allocations: 0 / 0.7302 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.595e-06/0.1974, allocations: 0 / 0.7302 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.1974, allocations: 4 kB / 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.0007402/0.1981, allocations: 314 kB / 0.7305 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.073e-05/0.1982, allocations: 12.03 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.143e-05/0.1983, allocations: 38.73 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.1985, allocations: 20.84 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.1989, allocations: 136.3 kB / 0.7307 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.1989, allocations: 4.375 kB / 0.7307 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.1989, allocations: 8.375 kB / 0.7307 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.1991, allocations: 66.17 kB / 0.7308 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.1991, allocations: 7.922 kB / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1992, allocations: 0 / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.1992, allocations: 4 kB / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.1993, allocations: 27.98 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006996/0.2, allocations: 283.7 kB / 0.7311 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.2002, allocations: 50.55 kB / 0.7311 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.84e-05/0.2003, allocations: 21 kB / 0.7312 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.2003, allocations: 0 / 0.7312 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.2004, allocations: 30.56 kB / 0.7312 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.2004, allocations: 0 / 0.7312 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003572/0.2007, allocations: 85.59 kB / 0.7313 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.2008, allocations: 55.34 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.201, allocations: 136.3 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.201, allocations: 25.7 kB / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.2011, allocations: 104.1 kB / 0.7316 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.2011, allocations: 3.953 kB / 0.7316 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.2012, allocations: 17.72 kB / 0.7316 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.2014, allocations: 326.8 kB / 0.7319 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.124e-05/0.2014, allocations: 15.98 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.689e-05/0.2015, allocations: 12 kB / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.2016, allocations: 25.12 kB / 0.732 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2016, allocations: 0 / 0.732 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002063/0.2018, allocations: 81.55 kB / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.2018, allocations: 4 kB / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2019, allocations: 0 / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.2019, allocations: 0 / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.202, allocations: 15.98 kB / 0.7321 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.202, allocations: 0 / 0.7321 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.514e-05/0.2021, allocations: 11.98 kB / 0.7321 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.2021, allocations: 3.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 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.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 0.0001361/0.2022, allocations: 113.8 kB / 0.7322 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.2023, allocations: 11.95 kB / 0.7322 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.477e-05/0.2023, allocations: 12.34 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2023, allocations: 0 / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2023, allocations: 0 / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2023, allocations: 0 / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.2026, allocations: 144.7 kB / 0.7323 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2026, allocations: 0 / 0.7323 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.069e-05/0.2026, allocations: 11.92 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2026, allocations: 0 / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.2026, allocations: 4 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2026, allocations: 0 / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2026, allocations: 4 kB / 0.7324 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.2029, allocations: 159.4 kB / 0.7325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.2029, allocations: 15.89 kB / 0.7325 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.2029, allocations: 0 / 0.7325 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.2031, allocations: 11.92 kB / 0.7325 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.2031, allocations: 11.97 kB / 0.7326 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.2032, allocations: 4 kB / 0.7326 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001086/0.2033, 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.2033, allocations: 0 / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003172/0.2036, 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.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.0006665/0.2042, allocations: 0.6967 MB / 0.7333 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001997/0.2044, allocations: 35.97 kB / 0.7334 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2044, allocations: 0 / 0.7334 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.34e-05/0.2045, allocations: 19.94 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.0003686/0.2049, allocations: 9.406 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.002014/0.2069, allocations: 1.381 MB / 0.7348 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.207, allocations: 79.27 kB / 0.7348 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.086e-05/0.2071, allocations: 4 kB / 0.7348 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.489e-05/0.2071, allocations: 23.42 kB / 0.7349 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/0.2071, allocations: 0 / 0.7349 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03589/0.243, allocations: 2.584 MB / 0.7374 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.51, allocations: 6.469 kB / 0.7374 GB, free: 7.309 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.25565375899896] Failed to read output from testmodel.py, exit status != 0: 11.617141514085233 11.634741322 11.434140688 Calling exit ...