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.001499/0.001499, 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.001456/0.001456, allocations: 219.3 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.496/3.496, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 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.002009/0.002009, allocations: 64.84 kB / 1.171 GB, free: 19.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3586, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002126/0.3607, allocations: 0.7983 MB / 1.346 GB, free: 15.14 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.3619, allocations: 0.9093 MB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.799e-05/0.362, allocations: 0 / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.3621, allocations: 11.86 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.892e-05/0.3622, allocations: 19.88 kB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.3624, allocations: 27.91 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.3626, allocations: 75.77 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.3627, allocations: 28.2 kB / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.3628, allocations: 31.86 kB / 1.347 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.481e-05/0.3629, allocations: 35.83 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.3629, allocations: 4 kB / 1.347 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.864e-05/0.363, allocations: 11.94 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.363, allocations: 12 kB / 1.347 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.363, allocations: 23.86 kB / 1.347 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.3632, allocations: 95.48 kB / 1.347 GB, free: 13.85 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3632, allocations: 0 / 1.347 GB, free: 13.85 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3632, allocations: 0 / 1.347 GB, free: 13.85 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3633, allocations: 0 / 1.347 GB, free: 13.85 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.000569/0.3638, allocations: 318 kB / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3639, allocations: 8.031 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.772e-05/0.3639, allocations: 192 / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.3639, allocations: 38.75 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.3641, allocations: 20.88 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.3644, allocations: 142.3 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.3644, allocations: 8.375 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.3644, allocations: 4.375 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.3646, allocations: 65.92 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3646, allocations: 0 / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3646, allocations: 4 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.3646, allocations: 3.984 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.3647, allocations: 35.98 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/0.3652, allocations: 275.8 kB / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.3654, allocations: 46.56 kB / 1.348 GB, free: 12.78 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.119e-05/0.3654, allocations: 17 kB / 1.348 GB, free: 12.76 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.3655, allocations: 7.938 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.3655, allocations: 34.59 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.3655, allocations: 4 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002618/0.3658, allocations: 69.62 kB / 1.348 GB, free: 12.63 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.3658, allocations: 59.41 kB / 1.348 GB, free: 12.56 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.3659, allocations: 135.9 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.3659, allocations: 25.7 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.958e-05/0.366, allocations: 104.1 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.366, allocations: 7.953 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.3661, allocations: 25.64 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3662, allocations: 318.8 kB / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.883e-05/0.3663, allocations: 15.98 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.968e-05/0.3663, allocations: 23.98 kB / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.758e-05/0.3664, allocations: 28.78 kB / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3664, allocations: 0 / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001515/0.3666, allocations: 65.64 kB / 1.349 GB, free: 11.78 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3666, allocations: 4 kB / 1.349 GB, free: 11.78 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3666, allocations: 0 / 1.349 GB, free: 11.78 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3666, allocations: 3.984 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.377e-05/0.3667, allocations: 4 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3667, allocations: 4 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.151e-05/0.3667, allocations: 15.92 kB / 1.349 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.3667, allocations: 4 kB / 1.349 GB, free: 11.75 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 9.401e-05/0.3668, allocations: 113.8 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.3669, allocations: 11.95 kB / 1.349 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/0.3669, allocations: 12.33 kB / 1.349 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3669, allocations: 0 / 1.349 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3669, allocations: 4 kB / 1.349 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3669, allocations: 3.938 kB / 1.349 GB, free: 11.59 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.3671, allocations: 144.7 kB / 1.349 GB, free: 11.4 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3671, allocations: 4 kB / 1.35 GB, free: 11.4 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.3672, allocations: 4 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3672, allocations: 0 / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3672, allocations: 0 / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3672, allocations: 0 / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3672, allocations: 3.984 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.3674, allocations: 167.7 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.3674, allocations: 15.88 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.3674, allocations: 8 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3675, allocations: 11.98 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.3676, allocations: 11.92 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.3676, allocations: 3.938 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.054e-05/0.3677, allocations: 105 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3677, allocations: 0 / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002689/0.3679, allocations: 8 kB / 1.35 GB, free: 11.05 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.0005419/0.3685, allocations: 0.689 MB / 1.35 GB, free: 10.34 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001623/0.3686, allocations: 39.92 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3686, allocations: 0 / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.941e-05/0.3687, allocations: 15.98 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.369, allocations: 11.88 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.3706, allocations: 1.376 MB / 1.352 GB, free: 8.812 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.028e-05/0.3707, allocations: 83.02 kB / 1.352 GB, free: 8.711 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.291e-05/0.3707, allocations: 4 kB / 1.352 GB, free: 8.707 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.241e-05/0.3708, allocations: 27.42 kB / 1.352 GB, free: 8.68 MB / 1.045 GB Notification: Performance of SimCode: time 4.11e-07/0.3708, allocations: 0 / 1.352 GB, free: 8.68 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.3936, allocations: 2.216 MB / 1.354 GB, free: 6.629 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.8, allocations: 4.062 kB / 1.354 GB, free: 6.625 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: 19.06721818493679] Failed to read output from testmodel.py, exit status != 0: 11.974116720026359 12.000448898 11.632299164 Calling exit ...