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.001397/0.001397, allocations: 101.5 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.001787/0.001787, allocations: 217.4 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.779/2.779, allocations: 476.7 MB / 0.7714 GB, free: 4.254 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.002006/0.002006, allocations: 75.78 kB / 1.118 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3438, allocations: 169.9 MB / 1.284 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002194/0.346, allocations: 0.8426 MB / 1.285 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.3472, allocations: 0.9132 MB / 1.286 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.256e-05/0.3473, allocations: 4 kB / 1.286 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.3474, allocations: 11.81 kB / 1.286 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.768e-05/0.3475, allocations: 15.94 kB / 1.286 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.3477, allocations: 31.91 kB / 1.286 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.3478, allocations: 75.77 kB / 1.286 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.3479, allocations: 23.92 kB / 1.286 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.3481, allocations: 35.91 kB / 1.286 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.395e-05/0.3482, allocations: 27.86 kB / 1.286 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.3482, allocations: 4 kB / 1.286 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.242e-05/0.3482, allocations: 11.98 kB / 1.286 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.3482, allocations: 19.92 kB / 1.286 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/0.3483, allocations: 27.75 kB / 1.286 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.3484, allocations: 95.77 kB / 1.286 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3484, allocations: 0 / 1.286 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3484, allocations: 0 / 1.286 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3484, allocations: 0 / 1.286 GB, free: 1.66 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.0005149/0.349, allocations: 314 kB / 1.287 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.349, allocations: 8.031 kB / 1.287 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.315e-05/0.349, allocations: 4.188 kB / 1.287 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.228e-05/0.349, allocations: 34.75 kB / 1.287 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.3492, allocations: 20.88 kB / 1.287 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.3494, allocations: 148.7 kB / 1.287 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.3494, allocations: 8.312 kB / 1.287 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.3494, allocations: 4.375 kB / 1.287 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.3496, allocations: 61.98 kB / 1.287 GB, free: 1 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3496, allocations: 0 / 1.287 GB, free: 1 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.3496, allocations: 4 kB / 1.287 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3496, allocations: 8 kB / 1.287 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.3497, allocations: 35.95 kB / 1.287 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.3502, allocations: 287.7 kB / 1.287 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.3504, allocations: 50.59 kB / 1.287 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.817e-05/0.3505, allocations: 25 kB / 1.287 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.3505, allocations: 0 / 1.287 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.3505, allocations: 30.56 kB / 1.287 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.3505, allocations: 0 / 1.287 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002537/0.3508, allocations: 69.62 kB / 1.287 GB, free: 440 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.3508, allocations: 59.39 kB / 1.287 GB, free: 368 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.3509, allocations: 133.8 kB / 1.288 GB, free: 224 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.351, allocations: 29.7 kB / 1.288 GB, free: 188 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.351, allocations: 96.09 kB / 1.288 GB, free: 88 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.351, allocations: 11.94 kB / 1.288 GB, free: 76 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.3511, allocations: 21.66 kB / 1.288 GB, free: 48 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.3513, allocations: 318.8 kB / 1.288 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.056e-05/0.3513, allocations: 12 kB / 1.288 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.422e-05/0.3514, allocations: 25.41 kB / 1.288 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.057e-05/0.3515, allocations: 32.84 kB / 1.288 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3515, allocations: 0 / 1.288 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001548/0.3516, allocations: 69.56 kB / 1.288 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3517, allocations: 11.94 kB / 1.288 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.3517, allocations: 0 / 1.288 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3517, allocations: 4 kB / 1.288 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.296e-05/0.3517, allocations: 7.938 kB / 1.288 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3517, allocations: 0 / 1.288 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.805e-05/0.3518, allocations: 15.92 kB / 1.288 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.3518, allocations: 4 kB / 1.288 GB, free: 15.54 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 9.197e-05/0.3519, allocations: 113.8 kB / 1.288 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.3519, allocations: 3.953 kB / 1.288 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.352, allocations: 16.33 kB / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.352, allocations: 0 / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.352, allocations: 0 / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.352, allocations: 3.938 kB / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.3522, allocations: 152.7 kB / 1.288 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3522, allocations: 4 kB / 1.288 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.084e-05/0.3522, allocations: 4 kB / 1.288 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3522, allocations: 3.984 kB / 1.288 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.3522, allocations: 0 / 1.288 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3522, allocations: 0 / 1.288 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3522, allocations: 0 / 1.288 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.3524, allocations: 163.7 kB / 1.289 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.3524, allocations: 15.94 kB / 1.289 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.3525, allocations: 7.984 kB / 1.289 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.3526, allocations: 7.984 kB / 1.289 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.3526, allocations: 7.984 kB / 1.289 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.3526, allocations: 3.938 kB / 1.289 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.776e-05/0.3527, allocations: 113.8 kB / 1.289 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3527, allocations: 0 / 1.289 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000226/0.3529, allocations: 8 kB / 1.289 GB, free: 14.85 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.0004888/0.3534, allocations: 0.6912 MB / 1.289 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000146/0.3535, allocations: 35.92 kB / 1.289 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3535, allocations: 0 / 1.289 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.754e-05/0.3536, allocations: 19.98 kB / 1.289 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.3539, allocations: 11.94 kB / 1.289 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.3554, allocations: 1.382 MB / 1.291 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.3558, allocations: 0.6885 MB / 1.292 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.093e-05/0.3558, allocations: 15.86 kB / 1.292 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.026e-05/0.3559, allocations: 27.44 kB / 1.292 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/0.3559, allocations: 0 / 1.292 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.3775, allocations: 2.137 MB / 1.294 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.93, allocations: 7.922 kB / 1.294 GB, free: 9.863 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.413611839001533] Failed to read output from testmodel.py, exit status != 0: 12.097080173029099 12.121793474 11.76872138 Calling exit ...