Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001487/0.001487, allocations: 116.4 kB / 17.17 MB, free: 5.883 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.001634/0.001634, allocations: 211 kB / 20.13 MB, free: 2.941 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.542/1.542, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.971/2.971, allocations: 0.5003 GB / 0.8026 GB, free: 6.762 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.003442/0.003442, allocations: 67.91 kB / 1.165 GB, free: 436 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.052, allocations: 178.9 MB / 1.34 GB, free: 16.21 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001928/1.054, allocations: 0.8301 MB / 1.341 GB, free: 15.67 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009772/1.054, allocations: 0.9192 MB / 1.342 GB, free: 14.97 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.586e-05/1.055, allocations: 2.812 kB / 1.342 GB, free: 14.97 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/1.055, allocations: 19.89 kB / 1.342 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.458e-05/1.055, allocations: 14.14 kB / 1.342 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/1.055, allocations: 28.33 kB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/1.055, allocations: 75.97 kB / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/1.055, allocations: 23.17 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/1.055, allocations: 34.27 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.598e-05/1.055, allocations: 32.7 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/1.055, allocations: 9.562 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.42e-05/1.055, allocations: 12.22 kB / 1.342 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/1.055, allocations: 12.41 kB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/1.055, allocations: 36.23 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001546/1.056, allocations: 85.89 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.811e-05/1.056, allocations: 0 / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.226e-06/1.056, allocations: 0.7031 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.223e-05/1.056, allocations: 0 / 1.342 GB, free: 14.77 MB / 1.061 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.0004961/1.056, allocations: 395.8 kB / 1.343 GB, free: 14.37 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/1.056, allocations: 10.78 kB / 1.343 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.522e-05/1.056, allocations: 5.469 kB / 1.343 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.416e-05/1.056, allocations: 33.25 kB / 1.343 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/1.056, allocations: 17.38 kB / 1.343 GB, free: 14.32 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/1.057, allocations: 202.7 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/1.057, allocations: 2.562 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/1.057, allocations: 3.812 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/1.057, allocations: 70.78 kB / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.057, allocations: 0 / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/1.057, allocations: 0 / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/1.057, allocations: 1.469 kB / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/1.057, allocations: 36.09 kB / 1.343 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/1.057, allocations: 320.8 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/1.058, allocations: 47.86 kB / 1.343 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.291e-05/1.058, allocations: 18.47 kB / 1.343 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/1.058, allocations: 1.25 kB / 1.343 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/1.058, allocations: 32.86 kB / 1.343 GB, free: 13.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/1.058, allocations: 0 / 1.343 GB, free: 13.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002499/1.058, allocations: 78.69 kB / 1.343 GB, free: 13.61 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/1.058, allocations: 53.25 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.922e-05/1.058, allocations: 145 kB / 1.344 GB, free: 13.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/1.058, allocations: 27.33 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/1.058, allocations: 102 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/1.058, allocations: 10.97 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/1.058, allocations: 18.42 kB / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.938e-05/1.058, allocations: 327.6 kB / 1.344 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.677e-05/1.058, allocations: 15.22 kB / 1.344 GB, free: 12.95 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.57e-05/1.058, allocations: 14.42 kB / 1.344 GB, free: 12.94 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.252e-05/1.058, allocations: 27.39 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.058, allocations: 0 / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001332/1.058, allocations: 69.3 kB / 1.344 GB, free: 12.88 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/1.058, allocations: 6.812 kB / 1.344 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.058, allocations: 0 / 1.344 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/1.058, allocations: 9.219 kB / 1.344 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.308e-05/1.059, allocations: 3.812 kB / 1.344 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/1.059, allocations: 1.578 kB / 1.344 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.829e-05/1.059, allocations: 17.84 kB / 1.344 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/1.059, allocations: 1.859 kB / 1.344 GB, free: 12.87 MB / 1.061 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 5.91e-05/1.059, allocations: 118.6 kB / 1.344 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/1.059, allocations: 7.375 kB / 1.344 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/1.059, allocations: 15 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.059, allocations: 6.328 kB / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/1.059, allocations: 0 / 1.344 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/1.059, allocations: 3.938 kB / 1.344 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/1.059, allocations: 180.4 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.059, allocations: 0 / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/1.059, allocations: 4.312 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/1.059, allocations: 0 / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/1.059, allocations: 1.922 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.059, allocations: 0 / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.059, allocations: 1.25 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/1.059, allocations: 167 kB / 1.345 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/1.059, allocations: 83.8 kB / 1.345 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/1.059, allocations: 2.438 kB / 1.345 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/1.059, allocations: 9.156 kB / 1.345 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.945e-05/1.059, allocations: 11 kB / 1.345 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/1.059, allocations: 10.36 kB / 1.345 GB, free: 12.25 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.287e-05/1.059, allocations: 103.9 kB / 1.345 GB, free: 12.17 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/1.059, allocations: 0 / 1.345 GB, free: 12.17 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002258/1.06, allocations: 11.16 kB / 1.345 GB, free: 12.17 MB / 1.061 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.0003346/1.06, allocations: 0.6908 MB / 1.346 GB, free: 11.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001494/1.06, allocations: 37.98 kB / 1.346 GB, free: 11.49 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.06, allocations: 0 / 1.346 GB, free: 11.49 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.403e-05/1.06, allocations: 16.2 kB / 1.346 GB, free: 11.48 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/1.06, allocations: 14.88 kB / 1.346 GB, free: 11.48 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/1.062, allocations: 1.379 MB / 1.347 GB, free: 10.23 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/1.062, allocations: 0.6968 MB / 1.348 GB, free: 9.527 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.741e-05/1.062, allocations: 6.375 kB / 1.348 GB, free: 9.527 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/1.062, allocations: 20.39 kB / 1.348 GB, free: 9.512 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.062, allocations: 0 / 1.348 GB, free: 9.512 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/1.081, allocations: 2.054 MB / 1.35 GB, free: 9.098 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.605/9.686, allocations: 6.469 kB / 1.35 GB, free: 9.094 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.23015714297071] Failed to read output from testmodel.py, exit status != 0: 9.819314790016506 9.839496332 8.780062323 Calling exit ...