Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.001751/0.001751, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002323/0.002323, allocations: 214.4 kB / 22.25 MB, free: 5.262 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.777 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.79/2.79, allocations: 476 MB / 0.7699 GB, free: 4.684 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.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.002345/0.002345, allocations: 65.69 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.338, allocations: 170 MB / 1.283 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002046/0.34, allocations: 0.7024 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.3412, allocations: 0.855 MB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.3412, allocations: 4 kB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.3413, allocations: 0 / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.114e-05/0.3414, allocations: 7.938 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.3415, allocations: 27.91 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.935e-05/0.3416, allocations: 47.86 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.3417, allocations: 15.5 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.133e-05/0.3418, allocations: 19.97 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.092e-05/0.3419, allocations: 19.86 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.3419, allocations: 11.94 kB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.362e-05/0.3419, allocations: 4 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.317e-05/0.3419, allocations: 11.98 kB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.3419, allocations: 15.92 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.3421, allocations: 47.8 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3421, allocations: 0 / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3421, allocations: 0 / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3421, allocations: 0 / 1.284 GB, free: 10.59 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.000527/0.3426, allocations: 287.8 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3426, allocations: 8.031 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.622e-05/0.3427, allocations: 34.75 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.3427, allocations: 8.891 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.3428, allocations: 118.4 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.3429, allocations: 384 / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.3429, allocations: 12.12 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.3431, allocations: 65.64 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3431, allocations: 4 kB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3431, allocations: 4 kB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3431, allocations: 0 / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.3433, allocations: 51.89 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.3438, allocations: 243.9 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.344, allocations: 66.53 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.3441, allocations: 32.92 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.3441, allocations: 0 / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.3441, allocations: 34.5 kB / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3441, allocations: 0 / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004377/0.3446, allocations: 113.5 kB / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.3446, allocations: 51.41 kB / 1.285 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.3447, allocations: 117.8 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.3447, allocations: 25.7 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.3448, allocations: 84.14 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.3448, allocations: 11.91 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.3449, allocations: 25.64 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.345, allocations: 314.8 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.3451, allocations: 23.97 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.384e-05/0.3452, allocations: 27.92 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.3454, allocations: 56.81 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3454, allocations: 0 / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002404/0.3456, allocations: 81.64 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3457, allocations: 6.344 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3457, allocations: 0 / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3457, allocations: 0 / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3458, allocations: 15.92 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3458, allocations: 0 / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.73e-05/0.3459, allocations: 23.92 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3459, allocations: 3.938 kB / 1.286 GB, free: 8.484 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,intLesThr.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.384e-05/0.346, allocations: 113.8 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.346, allocations: 3.953 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.346, allocations: 15.98 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.346, allocations: 0 / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.346, allocations: 0 / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.346, allocations: 0 / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.3462, allocations: 144.8 kB / 1.286 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3462, allocations: 0 / 1.286 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.399e-05/0.3463, allocations: 15.98 kB / 1.286 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3463, allocations: 0 / 1.286 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3463, allocations: 4 kB / 1.286 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3463, allocations: 0 / 1.286 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3463, allocations: 0 / 1.286 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.3466, allocations: 183.4 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.301e-05/0.3466, allocations: 11.88 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.3467, allocations: 0 / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3468, allocations: 11.98 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.3468, allocations: 15.98 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.3468, allocations: 4 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.609e-05/0.3469, allocations: 83.53 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3469, allocations: 0 / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002184/0.3471, allocations: 12 kB / 1.287 GB, free: 7.805 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 (intLesThr.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.0006571/0.3477, allocations: 0.7205 MB / 1.287 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002735/0.348, allocations: 55.89 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.348, allocations: 0 / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.3481, allocations: 35.97 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.3485, allocations: 1.953 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.3502, allocations: 1.321 MB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.454e-05/0.3503, allocations: 63.45 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.704e-05/0.3503, allocations: 7.984 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.493e-05/0.3504, allocations: 19.44 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3504, allocations: 0 / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03155/0.3819, allocations: 2.419 MB / 1.291 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.72, allocations: 13.72 kB / 1.291 GB, free: 3.172 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_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_LessThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intLesThr.t in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv. Warning: Get data of variable intLesThr.t from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv failed! Error: Could not read variable intLesThr.u in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv. Warning: Get data of variable intLesThr.u from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv failed! Error: Could not read variable intLesThr.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv. Warning: Get data of variable intLesThr.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.683001704979688]