Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.00189/0.00189, allocations: 104 kB / 16.45 MB, free: 6.449 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.002738/0.002738, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.453/1.453, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.741/2.741, allocations: 476.7 MB / 0.7672 GB, free: 5.195 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.LessEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.002172/0.002172, allocations: 75.89 kB / 1.112 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9212/0.9234, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002084/0.9254, allocations: 0.7072 MB / 1.279 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.9266, allocations: 0.8705 MB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.919e-05/0.9266, allocations: 0 / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.9266, allocations: 3.938 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.974e-05/0.9267, allocations: 3.938 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.9268, allocations: 27.91 kB / 1.28 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.782e-05/0.9269, allocations: 55.83 kB / 1.28 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.927, allocations: 8 kB / 1.28 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.754e-05/0.9271, allocations: 19.92 kB / 1.28 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.893e-05/0.9272, allocations: 23.91 kB / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.9272, allocations: 8 kB / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/0.9272, allocations: 8 kB / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.9272, allocations: 11.92 kB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.9273, allocations: 23.86 kB / 1.28 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.9274, allocations: 41.69 kB / 1.28 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.9274, allocations: 0 / 1.28 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9274, allocations: 0 / 1.28 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.9274, allocations: 3.984 kB / 1.28 GB, free: 11.57 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.0005992/0.928, allocations: 355.3 kB / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.928, allocations: 12.03 kB / 1.28 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.663e-05/0.9281, allocations: 42.67 kB / 1.28 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.9281, allocations: 4.891 kB / 1.28 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.9283, allocations: 180.3 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.9283, allocations: 384 / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.9283, allocations: 8.125 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.9285, allocations: 65.64 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.9285, allocations: 4 kB / 1.281 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.9285, allocations: 0 / 1.281 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.9285, allocations: 4 kB / 1.281 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.9288, allocations: 55.94 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005383/0.9293, allocations: 288.7 kB / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.9295, allocations: 62.52 kB / 1.281 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.9296, allocations: 32.92 kB / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.9297, allocations: 4.078 kB / 1.281 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.9297, allocations: 30.56 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.9297, allocations: 3.938 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004727/0.9302, allocations: 113.6 kB / 1.281 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.9302, allocations: 55.41 kB / 1.281 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.9304, allocations: 109.8 kB / 1.281 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.9304, allocations: 25.7 kB / 1.281 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.9305, allocations: 88.14 kB / 1.282 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.9305, allocations: 7.906 kB / 1.282 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.9305, allocations: 21.7 kB / 1.282 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.9307, allocations: 314.8 kB / 1.282 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.9308, allocations: 35.97 kB / 1.282 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.962e-05/0.9309, allocations: 19.98 kB / 1.282 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.9311, allocations: 52.75 kB / 1.282 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.9311, allocations: 0 / 1.282 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002694/0.9314, allocations: 81.64 kB / 1.282 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.9314, allocations: 4 kB / 1.282 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.9314, allocations: 4 kB / 1.282 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.9314, allocations: 4 kB / 1.282 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.9315, allocations: 15.98 kB / 1.282 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.9315, allocations: 3.938 kB / 1.282 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.863e-05/0.9316, allocations: 7.984 kB / 1.282 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.9316, allocations: 7.875 kB / 1.282 GB, free: 9.254 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,intLesEquThr.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.439e-05/0.9317, allocations: 112.2 kB / 1.282 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.9318, allocations: 11.89 kB / 1.282 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.9318, allocations: 7.906 kB / 1.282 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.9318, allocations: 4 kB / 1.282 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.9318, allocations: 0 / 1.282 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.9318, allocations: 3.984 kB / 1.282 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.932, allocations: 169.6 kB / 1.282 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.932, allocations: 4 kB / 1.282 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.522e-05/0.9321, allocations: 11.98 kB / 1.282 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.9321, allocations: 4 kB / 1.282 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.9321, allocations: 0 / 1.282 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.9322, allocations: 3.984 kB / 1.282 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9322, allocations: 4 kB / 1.282 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.9325, allocations: 179.8 kB / 1.283 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.9325, allocations: 89 kB / 1.283 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.9326, allocations: 4 kB / 1.283 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.9327, allocations: 7.984 kB / 1.283 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.9327, allocations: 15.97 kB / 1.283 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.9327, allocations: 7.984 kB / 1.283 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.262e-05/0.9328, allocations: 91.22 kB / 1.283 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9328, allocations: 0 / 1.283 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000229/0.933, allocations: 4 kB / 1.283 GB, free: 8.43 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 (intLesEquThr.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.000735/0.9338, allocations: 0.7267 MB / 1.283 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002845/0.9341, allocations: 51.89 kB / 1.284 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9341, allocations: 0 / 1.284 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.9342, allocations: 31.97 kB / 1.284 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.9345, allocations: 4 kB / 1.284 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.9363, allocations: 1.322 MB / 1.285 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.9366, allocations: 0.6807 MB / 1.286 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.458e-05/0.9367, allocations: 4 kB / 1.286 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.181e-05/0.9368, allocations: 23.42 kB / 1.286 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.9368, allocations: 0 / 1.286 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/0.9643, allocations: 1.854 MB / 1.287 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.161/9.125, allocations: 19.36 kB / 1.287 GB, free: 3.711 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_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_LessEqualThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intLesEquThr.t in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.t from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! Error: Could not read variable intLesEquThr.u in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.u from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! Error: Could not read variable intLesEquThr.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.343273401958868]