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.001878/0.001878, allocations: 111 kB / 16.46 MB, free: 6.453 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.00237/0.00237, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.515/1.515, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.7672 GB, free: 5.215 MB / 0.6231 GB " [Timeout remaining time 177] 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.001989/0.001989, allocations: 77.92 kB / 1.112 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9393/0.9413, allocations: 169.9 MB / 1.278 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002134/0.9435, allocations: 0.7111 MB / 1.279 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.9446, allocations: 0.8588 MB / 1.28 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.9447, allocations: 4 kB / 1.28 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.636e-05/0.9447, allocations: 7.922 kB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.201e-05/0.9448, allocations: 3.938 kB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.945, allocations: 19.98 kB / 1.28 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.9451, allocations: 55.83 kB / 1.28 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.9452, allocations: 8 kB / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.486e-05/0.9453, allocations: 23.86 kB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.055e-05/0.9453, allocations: 27.91 kB / 1.28 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.9454, allocations: 4 kB / 1.28 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.321e-05/0.9454, allocations: 4 kB / 1.28 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.9454, allocations: 15.97 kB / 1.28 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.9454, allocations: 19.88 kB / 1.28 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.9456, allocations: 45.67 kB / 1.28 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.9456, allocations: 0 / 1.28 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9456, allocations: 0 / 1.28 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.9456, allocations: 0 / 1.28 GB, free: 11.53 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.0005972/0.9462, allocations: 363.3 kB / 1.28 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.9462, allocations: 12.03 kB / 1.28 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.9463, allocations: 30.75 kB / 1.28 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.9463, allocations: 4.891 kB / 1.28 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.9465, allocations: 176.3 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.9465, allocations: 8.312 kB / 1.281 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.9465, allocations: 8.062 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.9467, allocations: 69.59 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.9467, allocations: 0 / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.9467, allocations: 4 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.9467, allocations: 0 / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.947, allocations: 51.95 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004706/0.9474, allocations: 288.8 kB / 1.281 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.9477, allocations: 66.52 kB / 1.281 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.9478, allocations: 36.86 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.9478, allocations: 4.062 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.9478, allocations: 30.56 kB / 1.281 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.9478, allocations: 0 / 1.281 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004665/0.9483, allocations: 113.5 kB / 1.281 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.9483, allocations: 55.41 kB / 1.281 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.9484, allocations: 113.8 kB / 1.281 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.9485, allocations: 25.7 kB / 1.281 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.9485, allocations: 88.12 kB / 1.282 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.9485, allocations: 11.91 kB / 1.282 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.9486, allocations: 17.72 kB / 1.282 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.9487, allocations: 318.8 kB / 1.282 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.9489, allocations: 31.98 kB / 1.282 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.635e-05/0.949, allocations: 23.97 kB / 1.282 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.9492, allocations: 52.81 kB / 1.282 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.9492, allocations: 0 / 1.282 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002508/0.9494, allocations: 77.59 kB / 1.282 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.9494, allocations: 11.98 kB / 1.282 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.9494, allocations: 4 kB / 1.282 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.9495, allocations: 0 / 1.282 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.9496, allocations: 15.98 kB / 1.282 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.9496, allocations: 0 / 1.282 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.649e-05/0.9497, allocations: 7.984 kB / 1.282 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.9497, allocations: 7.938 kB / 1.282 GB, free: 9.207 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.266e-05/0.9498, allocations: 112.2 kB / 1.282 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.9498, allocations: 11.95 kB / 1.282 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.9498, allocations: 7.906 kB / 1.282 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.9498, allocations: 0 / 1.282 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.9498, allocations: 0 / 1.282 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.9498, allocations: 0 / 1.282 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.9501, allocations: 177.6 kB / 1.282 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.9501, allocations: 0 / 1.282 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.274e-05/0.9501, allocations: 15.98 kB / 1.282 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.9501, allocations: 0 / 1.282 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.9502, allocations: 0 / 1.282 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.9502, allocations: 7.875 kB / 1.282 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.9502, allocations: 8 kB / 1.282 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.9505, allocations: 179.4 kB / 1.283 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.9505, allocations: 88.98 kB / 1.283 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.9505, allocations: 384 / 1.283 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.9506, allocations: 4 kB / 1.283 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.9507, allocations: 11.98 kB / 1.283 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.9507, allocations: 11.98 kB / 1.283 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.95e-05/0.9508, allocations: 87.22 kB / 1.283 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9508, allocations: 0 / 1.283 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002195/0.951, allocations: 8 kB / 1.283 GB, free: 8.387 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.0006598/0.9517, allocations: 0.7246 MB / 1.283 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002811/0.9519, allocations: 55.94 kB / 1.284 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9519, allocations: 0 / 1.284 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.9521, allocations: 31.91 kB / 1.284 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.9524, allocations: 9.719 kB / 1.284 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.9541, allocations: 1.319 MB / 1.285 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.9544, allocations: 0.6807 MB / 1.286 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.945e-05/0.9544, allocations: 4 kB / 1.286 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.315e-05/0.9545, allocations: 23.42 kB / 1.286 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of SimCode: time 4.1e-07/0.9545, allocations: 0 / 1.286 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02607/0.9806, allocations: 1.867 MB / 1.287 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/9.109, allocations: 10.61 kB / 1.287 GB, free: 3.652 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.320420203963295]