Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007957/0.0007957, 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.0008251/0.0008251, allocations: 165.9 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.9118/0.9118, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.78/1.78, allocations: 389 MB / 0.633 GB, free: 12.68 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.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.815e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001241/0.001259, allocations: 0.6902 MB / 1 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007984/0.002058, allocations: 0.8471 MB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.002096, allocations: 0 / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.858e-05/0.002124, allocations: 3.938 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.698e-05/0.002201, allocations: 11.92 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.002345, allocations: 27.91 kB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.346e-05/0.002418, allocations: 47.84 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.002514, allocations: 4 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.108e-05/0.002585, allocations: 27.97 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.884e-05/0.002634, allocations: 27.84 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.002656, allocations: 7.938 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.765e-06/0.002664, allocations: 4 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.002681, allocations: 11.98 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.002702, allocations: 11.94 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.264e-05/0.002795, allocations: 55.84 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.002796, allocations: 3.938 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.22e-07/0.002797, allocations: 0 / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.002801, allocations: 0 / 1.001 GB, free: 11.72 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.0003615/0.003162, allocations: 274.3 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.0032, allocations: 12.75 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.977e-05/0.00323, allocations: 38.73 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.137e-05/0.003251, allocations: 8.891 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.522e-05/0.003337, allocations: 109.7 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.003349, allocations: 4.375 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-06/0.003357, allocations: 4.375 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.003484, allocations: 81.89 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.00349, allocations: 0 / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.003499, allocations: 0 / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.003504, allocations: 4 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.003613, allocations: 47.94 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.003922, allocations: 256.7 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.004045, allocations: 70.47 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.533e-05/0.0041, allocations: 28.92 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.004115, allocations: 4 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.004132, allocations: 34.55 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.004132, allocations: 0 / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002415/0.004374, allocations: 105.6 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.004401, allocations: 51.41 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.809e-05/0.004459, allocations: 121.8 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.749e-06/0.004469, allocations: 25.7 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.004506, allocations: 88.14 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.004519, allocations: 7.906 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.004682, allocations: 21.7 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.064e-05/0.004752, allocations: 318.8 kB / 1.003 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.625e-05/0.004809, allocations: 23.97 kB / 1.003 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.525e-05/0.004854, allocations: 19.98 kB / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.784e-05/0.004952, allocations: 60.81 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.004954, allocations: 0 / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001204/0.005075, allocations: 81.58 kB / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.005085, allocations: 8 kB / 1.003 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.00509, allocations: 0 / 1.003 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.0051, allocations: 7.875 kB / 1.003 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.535e-05/0.005165, allocations: 11.98 kB / 1.003 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.005169, allocations: 0 / 1.003 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.525e-05/0.005205, allocations: 15.98 kB / 1.003 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.00521, allocations: 4 kB / 1.003 GB, free: 9.613 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,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 5.225e-05/0.005262, allocations: 109.8 kB / 1.003 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.005278, allocations: 7.953 kB / 1.003 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.007e-05/0.005298, allocations: 11.98 kB / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.0053, allocations: 336 / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.005304, allocations: 0 / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.005306, allocations: 4 kB / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.005414, allocations: 148.7 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.005415, allocations: 0 / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.005449, allocations: 15.98 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.00545, allocations: 0 / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.005458, allocations: 4 kB / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.00546, allocations: 3.984 kB / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.00546, allocations: 0 / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.005612, allocations: 183.4 kB / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.00562, allocations: 7.953 kB / 1.004 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.00563, allocations: 0 / 1.004 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.701e-05/0.005677, allocations: 11.98 kB / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.005725, allocations: 11.98 kB / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.005728, allocations: 0 / 1.004 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.864e-05/0.005757, allocations: 87.28 kB / 1.004 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005757, allocations: 0 / 1.004 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001425/0.005899, allocations: 8 kB / 1.004 GB, free: 8.934 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 (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.000307/0.006206, allocations: 0.7162 MB / 1.005 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001426/0.006349, allocations: 55.95 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.00635, allocations: 0 / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.53e-05/0.006405, allocations: 27.97 kB / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.0066, allocations: 14.23 kB / 1.005 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009439/0.007544, allocations: 1.332 MB / 1.006 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.208e-05/0.007586, allocations: 67.33 kB / 1.006 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.172e-05/0.007617, allocations: 4 kB / 1.006 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.007667, allocations: 20.5 kB / 1.006 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of SimCode: time 7.11e-07/0.007667, allocations: 0 / 1.006 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.02416, allocations: 2.572 MB / 1.009 GB, free: 4.145 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.904/6.928, allocations: 3.188 kB / 1.009 GB, free: 4.145 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_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_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.t from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable intGreThr.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable intGreThr.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.10957948025316]