Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.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.001401/0.001401, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002069/0.002069, allocations: 214.5 kB / 22.25 MB, free: 4.855 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.789 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.949/2.949, allocations: 476 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 176] 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.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",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.002107/0.002107, allocations: 67.5 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3308, allocations: 170 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002325/0.3331, allocations: 0.6894 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.3344, allocations: 0.855 MB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.3344, allocations: 0 / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.27e-05/0.3345, allocations: 7.938 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.212e-05/0.3346, allocations: 7.922 kB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.3347, allocations: 23.98 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.3348, allocations: 47.89 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.335, allocations: 15.45 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.457e-05/0.335, allocations: 15.98 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.946e-05/0.3351, allocations: 27.86 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.3351, allocations: 4 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.3351, allocations: 4 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.3352, allocations: 11.97 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.3352, allocations: 19.92 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.3353, allocations: 55.73 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3353, allocations: 0 / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3353, allocations: 0 / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.3353, allocations: 0 / 1.284 GB, free: 10.63 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005673/0.3359, allocations: 279.9 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.336, allocations: 8.031 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.367e-05/0.336, allocations: 42.73 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.3361, allocations: 4.891 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.3362, allocations: 114.4 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.3362, allocations: 8.375 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.3362, allocations: 8.125 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.3365, allocations: 65.66 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3365, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3365, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.3365, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.3367, allocations: 55.88 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/0.3371, allocations: 247.9 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.3374, allocations: 62.53 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.3375, allocations: 32.86 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.3375, allocations: 0 / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.3375, allocations: 38.55 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.3375, allocations: 0 / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004744/0.338, allocations: 105.6 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.338, allocations: 59.41 kB / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.73e-05/0.3381, allocations: 113.9 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.3382, allocations: 25.7 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.3382, allocations: 88.14 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.3383, allocations: 7.906 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/0.3383, allocations: 21.7 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0003386/0.3386, allocations: 318.8 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.3387, allocations: 35.84 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.922e-05/0.3388, allocations: 19.98 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.339, allocations: 57.08 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.339, allocations: 0 / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002345/0.3393, allocations: 81.64 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3393, allocations: 10.19 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3393, allocations: 0 / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3393, allocations: 0 / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.3394, allocations: 15.98 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3394, allocations: 7.938 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.458e-05/0.3395, allocations: 11.92 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3395, allocations: 3.938 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.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.033e-05/0.3396, allocations: 109.8 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.3396, allocations: 11.95 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.3397, allocations: 7.984 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3397, allocations: 0 / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3397, allocations: 3.938 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3397, allocations: 0 / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.3399, allocations: 140.7 kB / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3399, allocations: 4 kB / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.906e-05/0.34, allocations: 15.98 kB / 1.286 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.34, allocations: 0 / 1.286 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.34, allocations: 3.984 kB / 1.286 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.34, allocations: 0 / 1.286 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.34, allocations: 4 kB / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.3403, allocations: 183.4 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.3403, allocations: 7.953 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.3403, allocations: 8 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.78e-05/0.3404, allocations: 7.984 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/0.3405, allocations: 11.98 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.3405, allocations: 0 / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.89e-05/0.3406, allocations: 91.22 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3406, allocations: 0 / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002168/0.3408, allocations: 4 kB / 1.287 GB, free: 7.852 MB / 0.9825 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 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0006828/0.3415, allocations: 0.7124 MB / 1.287 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002654/0.3417, allocations: 63.89 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3417, allocations: 3.938 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.3418, allocations: 27.97 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.3422, allocations: 4 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.3439, allocations: 1.321 MB / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.563e-05/0.344, allocations: 67.34 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.128e-05/0.344, allocations: 3.984 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.3441, allocations: 19.44 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3441, allocations: 4 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.3764, allocations: 2.422 MB / 1.291 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.76, allocations: 4.125 kB / 1.291 GB, free: 3.223 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intGreThr.t in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.t from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable intGreThr.u in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.u from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable intGreThr.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.71340542798862]