Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.0008511/0.0008511, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001269/0.001269, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8866/0.8866, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.752/1.752, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.GreaterEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 8.967e-06/8.967e-06, allocations: 4 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/3.215e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001403/0.001436, allocations: 0.689 MB / 1 GB, free: 12.8 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008389/0.002274, allocations: 0.8509 MB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.185e-05/0.002316, allocations: 4 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.002346, allocations: 3.938 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.245e-05/0.002418, allocations: 11.92 kB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.002558, allocations: 27.91 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.117e-05/0.00263, allocations: 35.92 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.82e-05/0.002728, allocations: 23.91 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.299e-05/0.002811, allocations: 23.92 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.375e-05/0.002865, allocations: 19.97 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.002892, allocations: 4 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-06/0.002902, allocations: 4 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.002922, allocations: 19.92 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.002945, allocations: 11.98 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.477e-05/0.00304, allocations: 51.78 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.003042, allocations: 0 / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.864e-06/0.003044, allocations: 4 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.003048, allocations: 0 / 1.001 GB, free: 11.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003916/0.003439, allocations: 274.3 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.003483, allocations: 12.75 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.479e-05/0.003518, allocations: 34.69 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/0.003546, allocations: 8.891 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.971e-05/0.003645, allocations: 125.7 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.003657, allocations: 384 / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.003667, allocations: 4.375 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.003809, allocations: 65.97 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.003816, allocations: 0 / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.003825, allocations: 0 / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.003831, allocations: 4 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.003947, allocations: 47.95 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.004274, allocations: 264.6 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.004403, allocations: 58.55 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.736e-05/0.00446, allocations: 28.91 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.004475, allocations: 0 / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.004494, allocations: 34.56 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.004495, allocations: 0 / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002652/0.00476, allocations: 117.5 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.004791, allocations: 51.41 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.603e-05/0.004857, allocations: 109.8 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.004869, allocations: 29.7 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.004908, allocations: 88.12 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.004924, allocations: 15.84 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.004951, allocations: 13.72 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.056e-05/0.005032, allocations: 330.7 kB / 1.003 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.178e-05/0.005084, allocations: 23.98 kB / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.822e-05/0.005132, allocations: 27.97 kB / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.606e-05/0.005228, allocations: 53.03 kB / 1.003 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.00523, allocations: 0 / 1.003 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001244/0.005354, allocations: 89.58 kB / 1.003 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.005367, allocations: 8 kB / 1.003 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.005372, allocations: 3.984 kB / 1.003 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.005382, allocations: 0 / 1.003 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.005454, allocations: 15.98 kB / 1.003 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.005459, allocations: 0 / 1.003 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.135e-05/0.00549, allocations: 4 kB / 1.003 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.005497, allocations: 3.984 kB / 1.003 GB, free: 9.594 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: 2 (reaToInt.y,intGreEquThr.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 5.688e-05/0.005553, allocations: 117.8 kB / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.005568, allocations: 7.953 kB / 1.003 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.888e-05/0.005587, allocations: 11.94 kB / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.005589, allocations: 0 / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.005593, allocations: 0 / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.005596, allocations: 0 / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.005711, allocations: 144.7 kB / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.005712, allocations: 0 / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.005747, allocations: 15.98 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.005748, allocations: 0 / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.005755, allocations: 0 / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.005755, allocations: 0 / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.005758, allocations: 4 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.005912, allocations: 179.4 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.018e-05/0.005922, allocations: 3.953 kB / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.005932, allocations: 8 kB / 1.004 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.499e-05/0.005977, allocations: 7.984 kB / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.006028, allocations: 11.98 kB / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.006032, allocations: 3.938 kB / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.279e-05/0.006064, allocations: 87.27 kB / 1.004 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006064, allocations: 0 / 1.004 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000141/0.006205, allocations: 8 kB / 1.004 GB, free: 8.918 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 (intGreEquThr.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.0003165/0.006522, allocations: 0.7163 MB / 1.005 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.006674, allocations: 63.81 kB / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.006675, allocations: 0 / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.578e-05/0.006731, allocations: 27.98 kB / 1.005 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.006947, allocations: 12.47 kB / 1.005 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009911/0.007938, allocations: 1.329 MB / 1.006 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.444e-05/0.007983, allocations: 63.34 kB / 1.006 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.069e-05/0.008013, allocations: 4 kB / 1.006 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.716e-05/0.00806, allocations: 24.48 kB / 1.006 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of SimCode: time 5.11e-07/0.008061, allocations: 0 / 1.006 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/0.0229, allocations: 2.569 MB / 1.009 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.879/6.902, allocations: 11.98 kB / 1.009 GB, free: 4.121 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intGreEquThr.t in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv. Warning: Get data of variable intGreEquThr.t from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv failed! Error: Could not read variable intGreEquThr.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv. Warning: Get data of variable intGreEquThr.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv failed! Error: Could not read variable intGreEquThr.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv. Warning: Get data of variable intGreEquThr.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.023424368351698]