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.001866/0.001866, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002296/0.002296, allocations: 215 kB / 20.13 MB, free: 2.949 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.686/1.686, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.95/2.95, allocations: 476.7 MB / 0.7678 GB, free: 9.41 MB / 0.6075 GB " [Timeout remaining time 176] 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.002116/0.002116, allocations: 63.91 kB / 1.113 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12/1.123, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002459/1.125, allocations: 0.83 MB / 1.28 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00147/1.126, allocations: 0.9163 MB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/1.127, allocations: 7.156 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000146/1.127, allocations: 13.84 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.587e-05/1.127, allocations: 15.14 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/1.127, allocations: 27.12 kB / 1.281 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000162/1.127, allocations: 73.28 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/1.127, allocations: 30.05 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/1.127, allocations: 38.25 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.994e-05/1.128, allocations: 30.22 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/1.128, allocations: 9.406 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.815e-05/1.128, allocations: 7.281 kB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/1.128, allocations: 21.55 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/1.128, allocations: 26.8 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001933/1.128, allocations: 86.16 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/1.128, allocations: 5.031 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/1.128, allocations: 0 / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.29e-05/1.128, allocations: 0 / 1.281 GB, free: 10.3 MB / 0.9981 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.0006662/1.129, allocations: 392.5 kB / 1.281 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/1.129, allocations: 9.844 kB / 1.281 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.481e-05/1.129, allocations: 5.562 kB / 1.281 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/1.129, allocations: 32.75 kB / 1.281 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/1.129, allocations: 18.06 kB / 1.282 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/1.129, allocations: 202.9 kB / 1.282 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/1.129, allocations: 2.297 kB / 1.282 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/1.129, allocations: 4.219 kB / 1.282 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/1.129, allocations: 69.66 kB / 1.282 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/1.129, allocations: 7.938 kB / 1.282 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/1.129, allocations: 1.094 kB / 1.282 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.129, allocations: 1.062 kB / 1.282 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/1.13, allocations: 32.22 kB / 1.282 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005579/1.13, allocations: 325.2 kB / 1.282 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/1.13, allocations: 45.47 kB / 1.282 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.606e-05/1.13, allocations: 18.97 kB / 1.282 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/1.13, allocations: 1.031 kB / 1.282 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/1.13, allocations: 31.12 kB / 1.282 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/1.13, allocations: 0.5938 kB / 1.282 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0003224/1.131, allocations: 79.86 kB / 1.282 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/1.131, allocations: 56.86 kB / 1.282 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/1.131, allocations: 134.2 kB / 1.282 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/1.131, allocations: 26.23 kB / 1.283 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/1.131, allocations: 99.06 kB / 1.283 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/1.131, allocations: 10.5 kB / 1.283 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/1.131, allocations: 22.64 kB / 1.283 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.131, allocations: 323.3 kB / 1.283 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.901e-05/1.131, allocations: 18.36 kB / 1.283 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.997e-05/1.131, allocations: 15.8 kB / 1.283 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/1.131, allocations: 29.88 kB / 1.283 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.131, allocations: 0.5312 kB / 1.283 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001783/1.132, allocations: 71.64 kB / 1.283 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/1.132, allocations: 5.062 kB / 1.283 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.132, allocations: 0.5 kB / 1.283 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/1.132, allocations: 0.6875 kB / 1.283 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.249e-05/1.132, allocations: 9 kB / 1.283 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.132, allocations: 0.5 kB / 1.283 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.201e-05/1.132, allocations: 18.44 kB / 1.283 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/1.132, allocations: 1.031 kB / 1.283 GB, free: 8.406 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 0.0001144/1.132, allocations: 114.2 kB / 1.283 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/1.132, allocations: 7.766 kB / 1.283 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.861e-05/1.132, allocations: 11.67 kB / 1.283 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.132, allocations: 8.438 kB / 1.283 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.132, allocations: 4.594 kB / 1.283 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/1.132, allocations: 5.078 kB / 1.283 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/1.132, allocations: 178.8 kB / 1.283 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.132, allocations: 0.625 kB / 1.283 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.604e-05/1.132, allocations: 4.656 kB / 1.283 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.132, allocations: 0.5 kB / 1.283 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/1.132, allocations: 1.844 kB / 1.283 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.132, allocations: 4.5 kB / 1.283 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.132, allocations: 0 / 1.283 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/1.133, allocations: 164.7 kB / 1.284 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/1.133, allocations: 83.89 kB / 1.284 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/1.133, allocations: 1.484 kB / 1.284 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/1.133, allocations: 9.188 kB / 1.284 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/1.133, allocations: 11.28 kB / 1.284 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/1.133, allocations: 5.516 kB / 1.284 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.418e-05/1.133, allocations: 108.8 kB / 1.284 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.133, allocations: 4 kB / 1.284 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002275/1.133, allocations: 11.44 kB / 1.284 GB, free: 7.703 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.0006113/1.134, allocations: 0.6935 MB / 1.284 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001747/1.134, allocations: 33.12 kB / 1.285 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.134, allocations: 7.938 kB / 1.285 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.293e-05/1.134, allocations: 15.69 kB / 1.285 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/1.134, allocations: 13.61 kB / 1.285 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/1.136, allocations: 1.373 MB / 1.286 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/1.136, allocations: 0.6903 MB / 1.287 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.227e-05/1.136, allocations: 12.23 kB / 1.287 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/1.136, allocations: 21.47 kB / 1.287 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/1.136, allocations: 5.25 kB / 1.287 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/1.157, allocations: 2.061 MB / 1.289 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.527/9.684, allocations: 11.62 kB / 1.289 GB, free: 4.609 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.23600214003818] Failed to read output from testmodel.py, exit status != 0: 9.80996944499202 9.838205681 8.705100818 Calling exit ...