Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001676/0.001676, allocations: 108.9 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.002069/0.002069, allocations: 216.2 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.522/1.522, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.535/3.535, allocations: 0.49 GB / 0.7916 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_12_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.002106/0.002106, allocations: 65.06 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3921, allocations: 176.1 MB / 1.321 GB, free: 3.246 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002113/0.3942, allocations: 0.826 MB / 1.322 GB, free: 2.422 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3954, allocations: 0.921 MB / 1.323 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.057e-05/0.3954, allocations: 0 / 1.323 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.3956, allocations: 15.8 kB / 1.323 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.178e-05/0.3956, allocations: 11.94 kB / 1.323 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.3958, allocations: 35.89 kB / 1.323 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.396, allocations: 71.78 kB / 1.323 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.3961, allocations: 27.98 kB / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.3962, allocations: 35.84 kB / 1.323 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.682e-05/0.3963, allocations: 31.84 kB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.3963, allocations: 7.938 kB / 1.323 GB, free: 1.254 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.038e-05/0.3963, allocations: 8 kB / 1.323 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.3964, allocations: 11.98 kB / 1.323 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.3964, allocations: 27.81 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.3966, allocations: 91.77 kB / 1.323 GB, free: 1.117 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3966, allocations: 4 kB / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3966, allocations: 4 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3966, allocations: 0 / 1.323 GB, free: 1.109 MB / 1.014 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.0005691/0.3971, allocations: 387.1 kB / 1.323 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.3972, allocations: 11.98 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.3972, allocations: 38.75 kB / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.3974, allocations: 20.83 kB / 1.323 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.3976, allocations: 196.2 kB / 1.324 GB, free: 380 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.3976, allocations: 12.36 kB / 1.324 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.3977, allocations: 4.375 kB / 1.324 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.3978, allocations: 66.17 kB / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3978, allocations: 3.938 kB / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.3978, allocations: 0 / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3978, allocations: 0 / 1.324 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.398, allocations: 31.98 kB / 1.324 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.3985, allocations: 328.6 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.3986, allocations: 50.56 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.471e-05/0.3987, allocations: 16.94 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.3987, allocations: 4 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.3987, allocations: 38.59 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.093e-06/0.3987, allocations: 0 / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002615/0.399, allocations: 69.62 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.3991, allocations: 51.41 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.3992, allocations: 139.6 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.3992, allocations: 29.7 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.3993, allocations: 104.1 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.3993, allocations: 3.953 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.3993, allocations: 21.7 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3995, allocations: 326.7 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.716e-05/0.3995, allocations: 15.98 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.674e-05/0.3996, allocations: 15.98 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.3997, allocations: 28.78 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3997, allocations: 4 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001458/0.3998, allocations: 65.64 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3998, allocations: 4 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3999, allocations: 3.984 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3999, allocations: 0 / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.091e-05/0.3999, allocations: 4 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3999, allocations: 0 / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.47e-05/0.4, allocations: 11.98 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.4, allocations: 3.938 kB / 1.325 GB, free: 14.8 MB / 1.029 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 9.295e-05/0.4001, allocations: 121.8 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.4001, allocations: 7.953 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.4002, allocations: 16.23 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.4002, allocations: 0 / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4002, allocations: 0 / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4002, allocations: 0 / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.4004, allocations: 185.6 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4004, allocations: 0 / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.4004, allocations: 8 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4004, allocations: 4 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-06/0.4004, allocations: 3.984 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4004, allocations: 0 / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4004, allocations: 4 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.4006, allocations: 159.8 kB / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.4007, allocations: 85 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.4007, allocations: 4 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.4008, allocations: 16.03 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.4009, allocations: 19.84 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.4009, allocations: 0 / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.33e-05/0.4009, allocations: 108.9 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4009, allocations: 0 / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002273/0.4012, allocations: 8 kB / 1.326 GB, free: 13.97 MB / 1.029 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.0005245/0.4017, allocations: 0.6968 MB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001534/0.4018, allocations: 39.86 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4018, allocations: 0 / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.606e-05/0.4019, allocations: 15.98 kB / 1.326 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.4022, allocations: 9.719 kB / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.4036, allocations: 1.382 MB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.404, allocations: 0.6885 MB / 1.328 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.427e-05/0.404, allocations: 4 kB / 1.328 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.669e-05/0.404, allocations: 23.42 kB / 1.328 GB, free: 10.98 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.404, allocations: 0 / 1.328 GB, free: 10.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.4301, allocations: 2.012 MB / 1.33 GB, free: 9.07 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.094/8.524, allocations: 0.7031 kB / 1.33 GB, free: 9.07 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv. Warning: Get data of variable les.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv failed! Error: Could not read variable les.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv. Warning: Get data of variable les.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv failed! Error: Could not read variable lesHys.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv. Warning: Get data of variable lesHys.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.787494525080547]