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.0008549/0.0008549, allocations: 76.44 kB / 19.17 MB, free: 0.7383 MB / 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.0008432/0.0008432, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.9112/0.9112, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.657/1.657, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 0.9506 GB, free: 3.414 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.405e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.41 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001477/0.001501, allocations: 0.7923 MB / 0.9513 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009421/0.002443, allocations: 0.9171 MB / 0.9522 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.561e-05/0.002529, allocations: 0 / 0.9522 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.002658, allocations: 19.8 kB / 0.9523 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.303e-05/0.002691, allocations: 11.88 kB / 0.9523 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.002895, allocations: 27.91 kB / 0.9523 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.002997, allocations: 71.78 kB / 0.9524 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.003117, allocations: 23.97 kB / 0.9524 GB, free: 1.527 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.003266, allocations: 55.72 kB / 0.9524 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/0.003334, allocations: 23.97 kB / 0.9525 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.003353, allocations: 7.938 kB / 0.9525 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.977e-05/0.003393, allocations: 8 kB / 0.9525 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.003407, allocations: 11.98 kB / 0.9525 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.003434, allocations: 23.91 kB / 0.9525 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.003571, allocations: 83.73 kB / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.003573, allocations: 0 / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.303e-06/0.003575, allocations: 0 / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.003579, allocations: 0 / 0.9526 GB, free: 1.316 MB / 0.9011 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.0004284/0.004008, allocations: 317.9 kB / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.00405, allocations: 12.03 kB / 0.9529 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.004082, allocations: 34.75 kB / 0.9529 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.0042, allocations: 16.88 kB / 0.953 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.004406, allocations: 152.3 kB / 0.9531 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.004417, allocations: 12.25 kB / 0.9531 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.004427, allocations: 4.375 kB / 0.9531 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.00455, allocations: 62.84 kB / 0.9532 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.004557, allocations: 4.188 kB / 0.9532 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.004566, allocations: 384 / 0.9532 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.004577, allocations: 8.125 kB / 0.9532 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.079e-05/0.004647, allocations: 27.98 kB / 0.9532 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.005012, allocations: 279.8 kB / 0.9535 GB, free: 300 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.005124, allocations: 50.59 kB / 0.9535 GB, free: 240 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.321e-05/0.005157, allocations: 25 kB / 0.9536 GB, free: 212 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.005172, allocations: 0 / 0.9536 GB, free: 212 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.005191, allocations: 30.56 kB / 0.9536 GB, free: 172 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.005192, allocations: 0 / 0.9536 GB, free: 172 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0001829/0.005375, allocations: 73.67 kB / 0.9537 GB, free: 92 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.005407, allocations: 51.41 kB / 0.9537 GB, free: 28 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.166e-05/0.005499, allocations: 133.8 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.005516, allocations: 33.69 kB / 0.9539 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.005576, allocations: 92.14 kB / 0.9539 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.005591, allocations: 3.953 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.00562, allocations: 25.7 kB / 0.954 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.476e-05/0.005714, allocations: 326.7 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.871e-05/0.005753, allocations: 15.98 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.508e-05/0.005778, allocations: 15.98 kB / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.694e-05/0.005835, allocations: 24.84 kB / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.005838, allocations: 0 / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.667e-05/0.005924, allocations: 65.92 kB / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.005938, allocations: 7.984 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.005944, allocations: 4 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.005956, allocations: 4.047 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.958e-05/0.006015, allocations: 11.92 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.006021, allocations: 0 / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.714e-05/0.006058, allocations: 15.92 kB / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.006064, allocations: 4 kB / 0.9544 GB, free: 15.21 MB / 0.9167 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.575e-05/0.00613, allocations: 117.8 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.006146, allocations: 7.953 kB / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.006173, allocations: 16.27 kB / 0.9546 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.006175, allocations: 3.938 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.00618, allocations: 4 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.006182, allocations: 0 / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.0063, allocations: 148.7 kB / 0.9547 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.006302, allocations: 0 / 0.9547 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.056e-05/0.006322, allocations: 4 kB / 0.9547 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.006324, allocations: 0 / 0.9547 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.006332, allocations: 3.984 kB / 0.9547 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.006333, allocations: 4 kB / 0.9547 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.006334, allocations: 0 / 0.9547 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.006456, allocations: 163.4 kB / 0.9549 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.298e-05/0.006469, allocations: 11.95 kB / 0.9549 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.006484, allocations: 0 / 0.9549 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.855e-05/0.006533, allocations: 7.984 kB / 0.9549 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.006577, allocations: 11.98 kB / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.006581, allocations: 0 / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.69e-05/0.006628, allocations: 105.6 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006628, allocations: 0 / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001451/0.006773, allocations: 8 kB / 0.955 GB, free: 14.54 MB / 0.9167 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.0005088/0.007282, allocations: 0.6968 MB / 0.9557 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001158/0.007398, allocations: 31.92 kB / 0.9558 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.007399, allocations: 0 / 0.9558 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.727e-05/0.007437, allocations: 19.98 kB / 0.9558 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.007648, allocations: 13.66 kB / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.008662, allocations: 1.38 MB / 0.9571 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.102e-05/0.008713, allocations: 71.33 kB / 0.9572 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.503e-05/0.008748, allocations: 11.97 kB / 0.9572 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.008797, allocations: 24.5 kB / 0.9572 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of SimCode: time 6.81e-07/0.008798, allocations: 0 / 0.9572 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.02658, allocations: 2.719 MB / 0.9599 GB, free: 9.609 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.757/6.783, allocations: 10.05 kB / 0.9599 GB, free: 9.602 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable gre.u in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv. Warning: Get data of variable gre.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable gre.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv. Warning: Get data of variable gre.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable greHys.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv. Warning: Get data of variable greHys.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.955475184135139]