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.001428/0.001428, allocations: 97.11 kB / 19.73 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.001538/0.001538, allocations: 203.1 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.711 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.015/1.015, allocations: 150 MB / 463.2 MB, free: 10.2 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.002089/0.002089, allocations: 70.62 kB / 0.6413 GB, free: 9.781 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1879, allocations: 89.19 MB / 0.7284 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002061/0.19, allocations: 0.7723 MB / 0.7292 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.1912, allocations: 0.9016 MB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.134e-05/0.1913, allocations: 7.938 kB / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.1914, allocations: 15.86 kB / 0.7301 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.146e-05/0.1915, allocations: 11.88 kB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.1917, allocations: 35.89 kB / 0.7301 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.1918, allocations: 67.78 kB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1919, allocations: 27.98 kB / 0.7302 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.192, allocations: 39.84 kB / 0.7302 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.985e-05/0.1921, allocations: 23.8 kB / 0.7303 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1921, allocations: 11.94 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.412e-05/0.1922, allocations: 8 kB / 0.7303 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.1922, allocations: 19.92 kB / 0.7303 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.1922, allocations: 23.86 kB / 0.7303 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.1924, allocations: 87.84 kB / 0.7304 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1924, allocations: 0 / 0.7304 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1924, allocations: 0 / 0.7304 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.1924, allocations: 0 / 0.7304 GB, free: 14.61 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.0005491/0.193, allocations: 314 kB / 0.7307 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.193, allocations: 8.031 kB / 0.7307 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.193, allocations: 42.73 kB / 0.7308 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.1932, allocations: 20.84 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.1934, allocations: 142.3 kB / 0.7309 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.1934, allocations: 4.375 kB / 0.7309 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.1934, allocations: 8.375 kB / 0.7309 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.1936, allocations: 58.23 kB / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.1936, allocations: 7.922 kB / 0.731 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1936, allocations: 4 kB / 0.731 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.1936, allocations: 0 / 0.731 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1937, allocations: 39.92 kB / 0.731 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.1942, allocations: 271.8 kB / 0.7313 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.1944, allocations: 54.64 kB / 0.7313 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.109e-05/0.1944, allocations: 16.94 kB / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.1944, allocations: 4 kB / 0.7314 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.939e-05/0.1945, allocations: 30.56 kB / 0.7314 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.1945, allocations: 4 kB / 0.7314 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002574/0.1947, allocations: 69.81 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.1948, allocations: 55.41 kB / 0.7315 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.1949, allocations: 136.3 kB / 0.7317 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.1949, allocations: 29.7 kB / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.195, allocations: 100.1 kB / 0.7318 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.195, allocations: 7.953 kB / 0.7318 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.195, allocations: 17.72 kB / 0.7318 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1952, allocations: 322.8 kB / 0.7321 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.1953, allocations: 19.98 kB / 0.7321 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.406e-05/0.1953, allocations: 23.92 kB / 0.7321 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.618e-05/0.1954, allocations: 32.78 kB / 0.7322 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1954, allocations: 0 / 0.7322 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001397/0.1955, allocations: 69.62 kB / 0.7322 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1955, allocations: 4 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1955, allocations: 0 / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1956, allocations: 0 / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.772e-05/0.1956, allocations: 11.92 kB / 0.7323 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1956, allocations: 4 kB / 0.7323 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.749e-05/0.1957, allocations: 11.98 kB / 0.7323 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1957, allocations: 3.938 kB / 0.7323 GB, free: 12.51 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.0001203/0.1959, allocations: 113.8 kB / 0.7324 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.1959, allocations: 7.953 kB / 0.7324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.747e-05/0.1959, allocations: 8.344 kB / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1959, allocations: 0 / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.1959, allocations: 4 kB / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.196, allocations: 0 / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.1962, allocations: 156.7 kB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1962, allocations: 3.984 kB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.1962, allocations: 4 kB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1962, allocations: 0 / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.1962, allocations: 0 / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1962, allocations: 0 / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1962, allocations: 0 / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.1964, allocations: 167.4 kB / 0.7327 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.1964, allocations: 7.891 kB / 0.7327 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.1965, allocations: 4 kB / 0.7327 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1966, allocations: 15.98 kB / 0.7328 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.1966, allocations: 11.97 kB / 0.7328 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1966, allocations: 0 / 0.7328 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.357e-05/0.1967, allocations: 111.1 kB / 0.7329 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1967, allocations: 0 / 0.7329 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002216/0.1969, allocations: 8 kB / 0.7329 GB, free: 11.82 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.0005027/0.1974, allocations: 0.6892 MB / 0.7336 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001553/0.1976, allocations: 43.95 kB / 0.7336 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1976, allocations: 0 / 0.7336 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.148e-05/0.1976, allocations: 15.92 kB / 0.7336 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.1979, allocations: 12 kB / 0.7336 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.1994, allocations: 1.38 MB / 0.735 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.587e-05/0.1995, allocations: 85.5 kB / 0.735 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.1995, allocations: 0 / 0.735 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.1996, allocations: 27.42 kB / 0.7351 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.1996, allocations: 0 / 0.7351 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.2302, allocations: 2.57 MB / 0.7376 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.14, allocations: 0 / 0.7376 GB, free: 7.023 MB / 0.5606 GB " [Timeout remaining time 649] (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.115903439000249] Failed to read output from testmodel.py, exit status != 0: 11.24947624001652 11.279963348 11.082122821 Calling exit ...