Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001522/0.001522, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002111/0.002111, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.544/1.544, allocations: 230.6 MB / 256 MB, free: 8.043 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.782/2.782, allocations: 476.7 MB / 0.7707 GB, free: 4.32 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.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_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.002066/0.002066, allocations: 60.03 kB / 1.117 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4144, allocations: 169.9 MB / 1.283 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002369/0.4168, allocations: 0.8456 MB / 1.284 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.4182, allocations: 0.9132 MB / 1.285 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.4183, allocations: 4 kB / 1.285 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.4184, allocations: 11.81 kB / 1.285 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.689e-05/0.4185, allocations: 11.92 kB / 1.285 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.4187, allocations: 39.89 kB / 1.285 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.4189, allocations: 63.84 kB / 1.285 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.419, allocations: 31.92 kB / 1.285 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.4191, allocations: 39.84 kB / 1.285 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.443e-05/0.4192, allocations: 23.86 kB / 1.285 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.4192, allocations: 8 kB / 1.285 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.476e-05/0.4193, allocations: 8 kB / 1.285 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.4193, allocations: 15.92 kB / 1.285 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.4193, allocations: 27.81 kB / 1.285 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.4195, allocations: 91.77 kB / 1.286 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4195, allocations: 0 / 1.286 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.043e-06/0.4195, allocations: 0 / 1.286 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.4195, allocations: 4 kB / 1.286 GB, free: 1.66 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006234/0.4202, allocations: 322 kB / 1.286 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.4202, allocations: 8.031 kB / 1.286 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.4203, allocations: 38.75 kB / 1.286 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.4204, allocations: 16.88 kB / 1.286 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.4207, allocations: 138.4 kB / 1.286 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.4207, allocations: 8.375 kB / 1.286 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.4207, allocations: 4.375 kB / 1.286 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.4209, allocations: 62.17 kB / 1.286 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.4209, allocations: 7.938 kB / 1.286 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.4209, allocations: 4 kB / 1.286 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.4209, allocations: 0 / 1.286 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.421, allocations: 35.97 kB / 1.286 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.4215, allocations: 291.7 kB / 1.286 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.4217, allocations: 46.55 kB / 1.286 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.229e-05/0.4218, allocations: 16.92 kB / 1.286 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.4218, allocations: 0 / 1.286 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.4218, allocations: 38.59 kB / 1.286 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.4218, allocations: 4 kB / 1.287 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002592/0.4221, allocations: 77.69 kB / 1.287 GB, free: 432 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.4221, allocations: 51.41 kB / 1.287 GB, free: 368 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.4222, allocations: 136.3 kB / 1.287 GB, free: 224 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.4222, allocations: 25.7 kB / 1.287 GB, free: 192 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/0.4223, allocations: 96.09 kB / 1.287 GB, free: 92 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.4223, allocations: 15.92 kB / 1.287 GB, free: 76 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.4224, allocations: 21.72 kB / 1.287 GB, free: 48 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.4225, allocations: 322.8 kB / 1.287 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.248e-05/0.4226, allocations: 12 kB / 1.287 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.564e-05/0.4226, allocations: 15.98 kB / 1.287 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.732e-05/0.4227, allocations: 32.78 kB / 1.287 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4227, allocations: 0 / 1.287 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001409/0.4229, allocations: 69.62 kB / 1.287 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.4229, allocations: 11.94 kB / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4229, allocations: 0 / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.4229, allocations: 0 / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.149e-05/0.423, allocations: 4 kB / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.423, allocations: 0 / 1.287 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.311e-05/0.423, allocations: 19.92 kB / 1.287 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.4231, allocations: 7.938 kB / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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.000128/0.4232, allocations: 121.8 kB / 1.287 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.4232, allocations: 11.95 kB / 1.288 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.4232, allocations: 8.344 kB / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.4232, allocations: 0 / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4233, allocations: 4 kB / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4233, allocations: 0 / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.4235, allocations: 152.7 kB / 1.288 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4235, allocations: 0 / 1.288 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.342e-05/0.4235, allocations: 7.984 kB / 1.288 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4235, allocations: 0 / 1.288 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.4235, allocations: 0 / 1.288 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4236, allocations: 4 kB / 1.288 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4236, allocations: 0 / 1.288 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.4237, allocations: 160.8 kB / 1.288 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.4238, allocations: 11.89 kB / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.4238, allocations: 4 kB / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.875e-05/0.4239, allocations: 11.98 kB / 1.288 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.4239, allocations: 11.92 kB / 1.288 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.4239, allocations: 4 kB / 1.288 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.822e-05/0.424, allocations: 111.1 kB / 1.288 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.424, allocations: 4 kB / 1.288 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002195/0.4242, allocations: 4 kB / 1.288 GB, free: 14.85 MB / 0.9981 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005658/0.4248, allocations: 0.6972 MB / 1.289 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.4249, allocations: 35.91 kB / 1.289 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4249, allocations: 0 / 1.289 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.068e-05/0.425, allocations: 16 kB / 1.289 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.4253, allocations: 10.48 kB / 1.289 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.4269, allocations: 1.377 MB / 1.29 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.4273, allocations: 0.6976 MB / 1.291 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.802e-05/0.4273, allocations: 4 kB / 1.291 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.032e-05/0.4274, allocations: 27.42 kB / 1.291 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/0.4274, allocations: 0 / 1.291 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.457, allocations: 2.112 MB / 1.293 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.29, allocations: 10.42 kB / 1.293 GB, free: 9.883 MB / 0.9981 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable les.u in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv. Warning: Get data of variable les.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv failed! Error: Could not read variable les.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv. Warning: Get data of variable les.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv failed! Error: Could not read variable lesHys.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv. Warning: Get data of variable lesHys.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.08392539399938]