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.001451/0.001451, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001593/0.001593, allocations: 218.4 kB / 22.25 MB, free: 5.125 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.988 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.816/2.816, allocations: 476.7 MB / 0.7707 GB, free: 4.285 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.002032/0.002032, allocations: 68.03 kB / 1.117 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3369, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002218/0.3391, allocations: 0.7113 MB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.3402, allocations: 0.8667 MB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.282e-05/0.3403, allocations: 0 / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.571e-05/0.3403, allocations: 3.938 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.336e-05/0.3404, allocations: 3.938 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.3405, allocations: 23.92 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.3406, allocations: 51.89 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3408, allocations: 11.98 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.649e-05/0.3408, allocations: 27.88 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.355e-05/0.3409, allocations: 19.91 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.3409, allocations: 8 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.247e-05/0.3409, allocations: 4 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.341, allocations: 11.98 kB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.341, allocations: 19.86 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.3411, allocations: 52.48 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3411, allocations: 0 / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3411, allocations: 0 / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.3411, allocations: 3.938 kB / 1.285 GB, free: 9.871 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.0005922/0.3417, allocations: 282.3 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.3418, allocations: 12.03 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.193e-05/0.3418, allocations: 30.75 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.3418, allocations: 12.83 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.342, allocations: 122.4 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.342, allocations: 4.375 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.342, allocations: 8.125 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.3422, allocations: 65.64 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3423, allocations: 4 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3423, allocations: 0 / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-06/0.3423, allocations: 4 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.3425, allocations: 47.95 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.3429, allocations: 255.8 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/0.3431, allocations: 66.53 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3432, allocations: 28.92 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.3433, allocations: 0 / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.3433, allocations: 38.55 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.3433, allocations: 0 / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004197/0.3437, allocations: 113.5 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.3438, allocations: 51.41 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.3439, allocations: 113.9 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.3439, allocations: 25.7 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.344, allocations: 88.14 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.344, allocations: 7.906 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.3441, allocations: 21.7 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3442, allocations: 314.8 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.3443, allocations: 31.97 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.728e-05/0.3444, allocations: 19.98 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.3446, allocations: 52.81 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3446, allocations: 0 / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002422/0.3449, allocations: 85.58 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3449, allocations: 8 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3449, allocations: 3.938 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.3449, allocations: 4.328 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.345, allocations: 7.984 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.345, allocations: 4 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.528e-05/0.3451, allocations: 11.98 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.3451, allocations: 3.938 kB / 1.287 GB, free: 7.766 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 0.0001878/0.3453, allocations: 117.8 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.3453, allocations: 7.953 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.3454, allocations: 15.98 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3454, allocations: 0 / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3454, allocations: 0 / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3454, allocations: 0 / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.3456, allocations: 144.7 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3456, allocations: 3.938 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.672e-05/0.3457, allocations: 11.98 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.3457, allocations: 7.922 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.3457, allocations: 4 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3457, allocations: 4 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3457, allocations: 0 / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003483/0.346, allocations: 183.4 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.346, allocations: 8 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.3461, allocations: 0 / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3462, allocations: 7.984 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.3462, allocations: 15.98 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.3462, allocations: 0 / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.651e-05/0.3463, allocations: 95.2 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3463, allocations: 0 / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002158/0.3465, allocations: 8 kB / 1.288 GB, free: 7.07 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.0006132/0.3471, allocations: 0.7124 MB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002476/0.3474, allocations: 55.95 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3474, allocations: 0 / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.3475, allocations: 31.91 kB / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.3478, allocations: 11.98 kB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.3495, allocations: 1.319 MB / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.3499, allocations: 0.6846 MB / 1.29 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.475e-05/0.3499, allocations: 8 kB / 1.29 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.083e-05/0.35, allocations: 19.42 kB / 1.29 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.35, allocations: 0 / 1.29 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/0.3803, allocations: 1.947 MB / 1.292 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.1, allocations: 15.33 kB / 1.292 GB, free: 2.281 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: 17.852561146999506]