Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.000789/0.000789, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.000776/0.000776, allocations: 207.8 kB / 23.02 MB, free: 2.965 MB / 13.93 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.055/1.055, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.944/1.944, allocations: 0.5045 GB / 0.8104 GB, free: 2.77 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.91 kB / 1.177 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7479/0.7492, allocations: 180 MB / 1.352 GB, free: 1.656 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.00185/0.751, allocations: 0.7965 MB / 1.353 GB, free: 0.8594 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0009696/0.752, allocations: 0.9016 MB / 1.354 GB, free: 15.95 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.887e-05/0.7521, allocations: 4 kB / 1.354 GB, free: 15.94 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.7522, allocations: 15.81 kB / 1.354 GB, free: 15.93 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 3.465e-05/0.7523, allocations: 7.938 kB / 1.354 GB, free: 15.92 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.7525, allocations: 39.89 kB / 1.354 GB, free: 15.88 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.7526, allocations: 75.72 kB / 1.354 GB, free: 15.8 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.7527, allocations: 19.98 kB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.7528, allocations: 35.91 kB / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.056e-05/0.7529, allocations: 31.78 kB / 1.354 GB, free: 15.72 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.7529, allocations: 4 kB / 1.354 GB, free: 15.71 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.132e-05/0.7529, allocations: 12 kB / 1.354 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.753, allocations: 7.938 kB / 1.354 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.753, allocations: 31.8 kB / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.7531, allocations: 85.92 kB / 1.355 GB, free: 15.58 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7531, allocations: 0 / 1.355 GB, free: 15.58 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7531, allocations: 0 / 1.355 GB, free: 15.58 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.7531, allocations: 0 / 1.355 GB, free: 15.58 MB / 1.042 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.0006869/0.7538, allocations: 319.6 kB / 1.355 GB, free: 15.24 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.7539, allocations: 12.92 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/0.7539, allocations: 34.75 kB / 1.355 GB, free: 15.18 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.754, allocations: 16.88 kB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.7542, allocations: 158.2 kB / 1.355 GB, free: 14.99 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.7542, allocations: 8.312 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.7543, allocations: 4.375 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.7544, allocations: 62.23 kB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.7544, allocations: 7.922 kB / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.7544, allocations: 3.938 kB / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.7544, allocations: 0 / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.903e-05/0.7545, allocations: 31.98 kB / 1.355 GB, free: 14.87 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.7549, allocations: 283.8 kB / 1.355 GB, free: 14.55 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.755, allocations: 42.66 kB / 1.355 GB, free: 14.5 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.704e-05/0.755, allocations: 24.94 kB / 1.355 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.755, allocations: 0 / 1.355 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.7551, allocations: 30.56 kB / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.7551, allocations: 0 / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of matching and sorting (n=3): time 0.0002034/0.7553, allocations: 77.62 kB / 1.356 GB, free: 14.35 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.7553, allocations: 55.41 kB / 1.356 GB, free: 14.28 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.238e-05/0.7554, allocations: 132 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.7554, allocations: 25.7 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.7555, allocations: 104.1 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.7555, allocations: 7.891 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.7555, allocations: 21.7 kB / 1.356 GB, free: 13.97 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.7556, allocations: 318.8 kB / 1.356 GB, free: 13.65 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.796e-05/0.7556, allocations: 19.92 kB / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.045e-05/0.7557, allocations: 19.98 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.819e-05/0.7557, allocations: 28.84 kB / 1.356 GB, free: 13.58 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7557, allocations: 0 / 1.356 GB, free: 13.58 MB / 1.042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.97e-05/0.7558, allocations: 61.69 kB / 1.356 GB, free: 13.52 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.7558, allocations: 7.984 kB / 1.356 GB, free: 13.51 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.7558, allocations: 0 / 1.356 GB, free: 13.51 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.7559, allocations: 0 / 1.356 GB, free: 13.51 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.287e-05/0.7559, allocations: 8 kB / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.7559, allocations: 3.938 kB / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.756, allocations: 19.88 kB / 1.356 GB, free: 13.48 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.756, allocations: 7.938 kB / 1.356 GB, free: 13.47 MB / 1.042 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 6.626e-05/0.756, allocations: 114.4 kB / 1.356 GB, free: 13.35 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.7561, allocations: 4 kB / 1.356 GB, free: 13.34 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.7561, allocations: 12.33 kB / 1.357 GB, free: 13.33 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.7561, allocations: 4 kB / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.7561, allocations: 0 / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7561, allocations: 0 / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.7562, allocations: 152.6 kB / 1.357 GB, free: 13.13 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7562, allocations: 3.938 kB / 1.357 GB, free: 13.13 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-05/0.7563, allocations: 4 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7563, allocations: 4.328 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.7563, allocations: 0 / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.7563, allocations: 7.984 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7563, allocations: 4 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.7564, allocations: 163.4 kB / 1.357 GB, free: 12.93 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-06/0.7564, allocations: 3.953 kB / 1.357 GB, free: 12.93 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.7564, allocations: 8 kB / 1.357 GB, free: 12.92 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.579e-05/0.7565, allocations: 7.984 kB / 1.357 GB, free: 12.91 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.7565, allocations: 7.984 kB / 1.357 GB, free: 12.91 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.7565, allocations: 4 kB / 1.357 GB, free: 12.9 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.649e-05/0.7566, allocations: 109.7 kB / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.7566, allocations: 0 / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002251/0.7568, allocations: 11.95 kB / 1.357 GB, free: 12.79 MB / 1.042 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.0003301/0.7572, allocations: 0.6852 MB / 1.358 GB, free: 12.07 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.7573, allocations: 35.92 kB / 1.358 GB, free: 12.04 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.7573, allocations: 0 / 1.358 GB, free: 12.04 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 3.741e-05/0.7573, allocations: 23.98 kB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.7576, allocations: 4 kB / 1.358 GB, free: 12.01 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.7587, allocations: 1.393 MB / 1.359 GB, free: 10.54 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.845e-05/0.7588, allocations: 79.02 kB / 1.359 GB, free: 10.44 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.019e-05/0.7588, allocations: 11.98 kB / 1.359 GB, free: 10.43 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/0.7589, allocations: 19.44 kB / 1.359 GB, free: 10.41 MB / 1.042 GB Notification: Performance of SimCode: time 4.3e-07/0.7589, allocations: 0 / 1.359 GB, free: 10.41 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.116/0.8749, allocations: 2.577 MB / 1.362 GB, free: 7.984 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.321/8.196, allocations: 13.41 kB / 1.362 GB, free: 7.977 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_fmpy_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.141373644582927]