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.0007956/0.0007956, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.0008649/0.0008649, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.9207/0.9207, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.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.803/1.803, allocations: 389.6 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 178] 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 2.064e-06/2.064e-06, allocations: 0 / 1.001 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.76e-05, allocations: 2.281 kB / 1.001 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001544/0.001562, allocations: 0.807 MB / 1.002 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003962/0.005524, allocations: 0.9063 MB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.223e-05/0.005606, allocations: 3.938 kB / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.005724, allocations: 19.8 kB / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.545e-05/0.00576, allocations: 11.88 kB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.005947, allocations: 27.97 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.006064, allocations: 79.72 kB / 1.003 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.006172, allocations: 23.97 kB / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.0063, allocations: 43.84 kB / 1.003 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.147e-05/0.006361, allocations: 23.91 kB / 1.003 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.006378, allocations: 4 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4e-05/0.006418, allocations: 11.98 kB / 1.003 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.006436, allocations: 15.94 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.006462, allocations: 19.91 kB / 1.003 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.006601, allocations: 79.73 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.006603, allocations: 8 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.92e-07/0.006604, allocations: 0 / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.006608, allocations: 0 / 1.003 GB, free: 11.35 MB / 0.9636 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.0007014/0.007309, allocations: 314 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.007351, allocations: 13.34 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.835e-05/0.007389, allocations: 34.69 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.0075, allocations: 16.88 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.007696, allocations: 149.6 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.007705, allocations: 384 / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.007716, allocations: 4.375 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003132/0.01085, allocations: 62.23 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.01086, allocations: 4.125 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.01086, allocations: 384 / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.01087, allocations: 8.062 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.075e-05/0.01095, allocations: 35.92 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.01132, allocations: 283.8 kB / 1.004 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.01143, allocations: 50.59 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.01147, allocations: 17 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.01148, allocations: 0 / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.0115, allocations: 38.56 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.0115, allocations: 0 / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001964/0.0117, allocations: 73.56 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.01172, allocations: 55.41 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.227e-05/0.01182, allocations: 144.1 kB / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.01183, allocations: 29.7 kB / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.01188, allocations: 96.09 kB / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.01189, allocations: 7.953 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.01193, allocations: 17.7 kB / 1.004 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.5e-05/0.01201, allocations: 318.8 kB / 1.004 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.659e-05/0.01205, allocations: 19.98 kB / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.231e-05/0.01208, allocations: 15.98 kB / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.95e-05/0.01214, allocations: 28.84 kB / 1.005 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01214, allocations: 4 kB / 1.005 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001031/0.01224, allocations: 77.88 kB / 1.005 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.01226, allocations: 4 kB / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.01226, allocations: 0 / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.01227, allocations: 0 / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.369e-05/0.01231, allocations: 4 kB / 1.005 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.01232, allocations: 0 / 1.005 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.01236, allocations: 15.92 kB / 1.005 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.01237, allocations: 0 / 1.005 GB, free: 9.254 MB / 0.9636 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.555e-05/0.01244, allocations: 124.4 kB / 1.005 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.01246, allocations: 7.953 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.01248, allocations: 12.33 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01248, allocations: 4 kB / 1.005 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.01249, allocations: 0 / 1.005 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.01249, allocations: 0 / 1.005 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.01262, allocations: 144.7 kB / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.01262, allocations: 0 / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.916e-05/0.01264, allocations: 7.938 kB / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.01265, allocations: 0 / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.01265, allocations: 11.98 kB / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.01265, allocations: 3.938 kB / 1.005 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.01266, allocations: 7.938 kB / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.01278, allocations: 155.4 kB / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.01279, allocations: 3.953 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.0128, allocations: 8 kB / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-05/0.01287, allocations: 7.984 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.01291, allocations: 7.984 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.01292, allocations: 0 / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.284e-05/0.01297, allocations: 106.1 kB / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01297, allocations: 4 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002189/0.01319, allocations: 8 kB / 1.005 GB, free: 8.57 MB / 0.9636 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.0003247/0.01351, allocations: 0.6967 MB / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.01362, allocations: 31.98 kB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01362, allocations: 0 / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002888/0.01651, allocations: 19.98 kB / 1.006 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.01677, allocations: 19.88 kB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.01803, allocations: 1.379 MB / 1.007 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.064e-05/0.01808, allocations: 71.38 kB / 1.007 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.91e-05/0.01812, allocations: 11.97 kB / 1.007 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.01817, allocations: 24.5 kB / 1.007 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of SimCode: time 1.062e-06/0.01817, allocations: 0 / 1.007 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07735/0.09552, allocations: 2.718 MB / 1.01 GB, free: 3.617 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/7.843, allocations: 4.906 kB / 1.01 GB, free: 3.617 MB / 0.9636 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: 12.364663222804666]