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.00178/0.00178, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.002356/0.002356, allocations: 210.2 kB / 23.04 MB, free: 5.074 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.977 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 3.462/3.462, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 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.002041/0.002041, allocations: 68.25 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3325, allocations: 179 MB / 1.345 GB, free: 464 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002766/0.3353, allocations: 0.8348 MB / 1.346 GB, free: 15.62 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.337, allocations: 0.921 MB / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.3371, allocations: 8 kB / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.3373, allocations: 11.81 kB / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.01e-05/0.3374, allocations: 11.88 kB / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.3376, allocations: 31.91 kB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.3378, allocations: 71.72 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.3379, allocations: 28.25 kB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.3381, allocations: 31.92 kB / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.447e-05/0.3382, allocations: 27.84 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.3382, allocations: 11.94 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.033e-05/0.3383, allocations: 12 kB / 1.347 GB, free: 14.44 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.3383, allocations: 19.91 kB / 1.347 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.3383, allocations: 27.81 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.3385, allocations: 87.55 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3386, allocations: 0 / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3386, allocations: 0 / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.3386, allocations: 0 / 1.347 GB, free: 14.31 MB / 1.045 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.0007032/0.3393, allocations: 318 kB / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3393, allocations: 12.03 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.243e-05/0.3393, allocations: 192 / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.3394, allocations: 38.75 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.3396, allocations: 16.88 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.3399, allocations: 138.3 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.3399, allocations: 8.375 kB / 1.348 GB, free: 13.72 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.34, allocations: 4.375 kB / 1.348 GB, free: 13.72 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.3402, allocations: 65.98 kB / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3402, allocations: 0 / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.3402, allocations: 4 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3402, allocations: 0 / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.3404, allocations: 35.97 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007785/0.3411, allocations: 291.7 kB / 1.348 GB, free: 13.28 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.3414, allocations: 54.66 kB / 1.348 GB, free: 13.22 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.662e-05/0.3414, allocations: 16.94 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.3415, allocations: 4 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.3415, allocations: 30.56 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.3415, allocations: 0 / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0003515/0.3418, allocations: 73.62 kB / 1.349 GB, free: 13.08 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.3419, allocations: 51.41 kB / 1.349 GB, free: 13.02 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.3421, allocations: 139.5 kB / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.3421, allocations: 37.62 kB / 1.349 GB, free: 12.83 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.738e-05/0.3422, allocations: 100 kB / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.3422, allocations: 3.953 kB / 1.349 GB, free: 12.72 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.145e-05/0.3423, allocations: 25.64 kB / 1.349 GB, free: 12.69 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.3424, allocations: 318.8 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.843e-05/0.3425, allocations: 19.98 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.472e-05/0.3426, allocations: 24.17 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.3428, allocations: 28.92 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3428, allocations: 0 / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002282/0.343, allocations: 65.64 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.343, allocations: 7.984 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.343, allocations: 0 / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.343, allocations: 8 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.201e-05/0.3431, allocations: 3.938 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3431, allocations: 4 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.3433, allocations: 11.92 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.3433, allocations: 4 kB / 1.349 GB, free: 12.19 MB / 1.045 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.0001323/0.3434, allocations: 114.5 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.202e-05/0.3434, allocations: 7.953 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.489e-05/0.3435, allocations: 16.33 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3435, allocations: 4 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3435, allocations: 0 / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.3435, allocations: 3.938 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.3438, allocations: 148.7 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3438, allocations: 0 / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.528e-05/0.3439, allocations: 4 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3439, allocations: 0 / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.3439, allocations: 7.984 kB / 1.35 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3439, allocations: 0 / 1.35 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3439, allocations: 0 / 1.35 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.3442, allocations: 167.4 kB / 1.35 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/0.3442, allocations: 11.89 kB / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.3442, allocations: 8 kB / 1.35 GB, free: 11.63 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.3444, allocations: 7.984 kB / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.3445, allocations: 7.984 kB / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.3445, allocations: 3.938 kB / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000111/0.3446, allocations: 105 kB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3446, allocations: 4 kB / 1.35 GB, free: 11.5 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003603/0.3449, allocations: 8 kB / 1.35 GB, free: 11.5 MB / 1.045 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.0005725/0.3455, allocations: 0.6929 MB / 1.351 GB, free: 10.78 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.3457, allocations: 43.86 kB / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3457, allocations: 0 / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.953e-05/0.3457, allocations: 16.22 kB / 1.351 GB, free: 10.72 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.346, allocations: 9.312 kB / 1.351 GB, free: 10.71 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.3478, allocations: 1.376 MB / 1.352 GB, free: 9.258 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.3482, allocations: 0.6924 MB / 1.353 GB, free: 8.539 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.37e-05/0.3482, allocations: 15.67 kB / 1.353 GB, free: 8.523 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.22e-05/0.3483, allocations: 23.44 kB / 1.353 GB, free: 8.5 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/0.3483, allocations: 0 / 1.353 GB, free: 8.5 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.3715, allocations: 2.145 MB / 1.355 GB, free: 6.508 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.8, allocations: 10.31 kB / 1.355 GB, free: 6.5 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.772265373962] Failed to read output from testmodel.py, exit status != 0: 11.973845670989249 12.001033034 11.657466925 Calling exit ...