Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001665/0.001665, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002054/0.002054, allocations: 218.4 kB / 23.03 MB, free: 4.945 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.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.795/2.795, allocations: 476.8 MB / 0.7715 GB, free: 3.887 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_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.002062/0.002062, allocations: 63.92 kB / 1.118 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3738, allocations: 169.9 MB / 1.284 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001986/0.3758, allocations: 0.7908 MB / 1.285 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.377, allocations: 0.9054 MB / 1.286 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.571e-05/0.377, allocations: 4 kB / 1.286 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.3772, allocations: 11.81 kB / 1.286 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.404e-05/0.3772, allocations: 19.8 kB / 1.286 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.3774, allocations: 31.97 kB / 1.286 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.3775, allocations: 75.72 kB / 1.286 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3776, allocations: 19.98 kB / 1.286 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.3778, allocations: 35.91 kB / 1.286 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.372e-05/0.3778, allocations: 35.84 kB / 1.286 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.3779, allocations: 4 kB / 1.286 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.121e-05/0.3779, allocations: 8 kB / 1.286 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.767e-05/0.3779, allocations: 23.86 kB / 1.286 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.378, allocations: 19.86 kB / 1.286 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.3781, allocations: 83.84 kB / 1.286 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3781, allocations: 4 kB / 1.286 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3781, allocations: 0 / 1.286 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.3781, allocations: 0 / 1.286 GB, free: 1.219 MB / 0.9825 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.0005407/0.3787, allocations: 318 kB / 1.286 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3787, allocations: 12.03 kB / 1.286 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.608e-05/0.3787, allocations: 192 / 1.286 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.557e-05/0.3788, allocations: 34.75 kB / 1.287 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.3789, allocations: 16.88 kB / 1.287 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.3792, allocations: 148.8 kB / 1.287 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.3792, allocations: 4.375 kB / 1.287 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.3792, allocations: 4.375 kB / 1.287 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.3794, allocations: 65.98 kB / 1.287 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.3794, allocations: 4 kB / 1.287 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.3794, allocations: 0 / 1.287 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.3794, allocations: 4 kB / 1.287 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.3795, allocations: 43.91 kB / 1.287 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.38, allocations: 271.8 kB / 1.287 GB, free: 204 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.3802, allocations: 46.69 kB / 1.287 GB, free: 148 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.486e-05/0.3802, allocations: 24.91 kB / 1.287 GB, free: 120 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.3802, allocations: 0 / 1.287 GB, free: 120 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.3803, allocations: 38.5 kB / 1.287 GB, free: 72 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.3803, allocations: 0 / 1.287 GB, free: 72 kB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002692/0.3805, allocations: 73.8 kB / 1.287 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.3806, allocations: 51.41 kB / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.3807, allocations: 137.8 kB / 1.287 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.3807, allocations: 29.64 kB / 1.287 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/0.3808, allocations: 104.1 kB / 1.288 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.3808, allocations: 15.94 kB / 1.288 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.3809, allocations: 17.72 kB / 1.288 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.381, allocations: 318.8 kB / 1.288 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.373e-05/0.381, allocations: 12 kB / 1.288 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.275e-05/0.3811, allocations: 25.39 kB / 1.288 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.156e-05/0.3812, allocations: 28.84 kB / 1.288 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3812, allocations: 0 / 1.288 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001479/0.3813, allocations: 65.62 kB / 1.288 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3813, allocations: 12 kB / 1.288 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-06/0.3813, allocations: 0 / 1.288 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.3814, allocations: 0 / 1.288 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.064e-05/0.3814, allocations: 7.938 kB / 1.288 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3814, allocations: 0 / 1.288 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.451e-05/0.3815, allocations: 11.92 kB / 1.288 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.3815, allocations: 7.984 kB / 1.288 GB, free: 15.11 MB / 0.9981 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 8.842e-05/0.3816, allocations: 113.8 kB / 1.288 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.3816, allocations: 11.94 kB / 1.288 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.3817, allocations: 12.34 kB / 1.288 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.3817, allocations: 0 / 1.288 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3817, allocations: 0 / 1.288 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3817, allocations: 3.938 kB / 1.288 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.3819, allocations: 148.7 kB / 1.288 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3819, allocations: 0 / 1.288 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.301e-05/0.3819, allocations: 4 kB / 1.288 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3819, allocations: 3.984 kB / 1.288 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3819, allocations: 0 / 1.288 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3819, allocations: 0 / 1.288 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3819, allocations: 0 / 1.288 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.3821, allocations: 167.4 kB / 1.288 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.3822, allocations: 19.83 kB / 1.288 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.3822, allocations: 4 kB / 1.288 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.3823, allocations: 11.98 kB / 1.289 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/0.3823, allocations: 11.98 kB / 1.289 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.3823, allocations: 3.938 kB / 1.289 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.512e-05/0.3824, allocations: 113.3 kB / 1.289 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3824, allocations: 0 / 1.289 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000227/0.3827, allocations: 4 kB / 1.289 GB, free: 14.42 MB / 0.9981 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.0007829/0.3834, allocations: 0.6929 MB / 1.289 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001672/0.3836, allocations: 40.14 kB / 1.289 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.3836, allocations: 0 / 1.289 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.868e-05/0.3837, allocations: 15.98 kB / 1.289 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.3839, allocations: 11.94 kB / 1.289 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.3855, allocations: 1.382 MB / 1.291 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.753e-05/0.3856, allocations: 79.52 kB / 1.291 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.008e-05/0.3856, allocations: 7.984 kB / 1.291 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.631e-05/0.3857, allocations: 23.44 kB / 1.291 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of SimCode: time 3.6e-07/0.3857, allocations: 0 / 1.291 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/0.4113, allocations: 2.214 MB / 1.293 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.16, allocations: 8.062 kB / 1.293 GB, free: 9.984 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.75634690700099] Failed to read output from testmodel.py, exit status != 0: 12.3260278259404 12.356274034 11.972405376 Calling exit ...