Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001679/0.001679, 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.002448/0.002448, allocations: 207.1 kB / 22.24 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.302/3.302, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_latest_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.002122/0.002122, allocations: 64.67 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3936, allocations: 181.9 MB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.00227/0.3958, allocations: 0.813 MB / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.3973, allocations: 0.9055 MB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.3974, allocations: 4 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.3975, allocations: 15.86 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.87e-05/0.3976, allocations: 11.88 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.3978, allocations: 31.89 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.398, allocations: 71.78 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.3981, allocations: 20.27 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.3983, allocations: 43.84 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.981e-05/0.3984, allocations: 27.78 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.3984, allocations: 8 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.033e-05/0.3985, allocations: 8 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.3985, allocations: 12 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.487e-05/0.3985, allocations: 27.8 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.3987, allocations: 91.55 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.3987, allocations: 0 / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3988, allocations: 0 / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.3988, allocations: 0 / 1.365 GB, free: 11.93 MB / 1.061 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.000682/0.3994, allocations: 318 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.3995, allocations: 8.031 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.981e-05/0.3995, allocations: 34.75 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.3997, allocations: 20.88 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.4001, allocations: 142.4 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.4002, allocations: 4.375 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.4002, allocations: 8.375 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.4004, allocations: 62.17 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4004, allocations: 3.938 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.4004, allocations: 3.938 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.4004, allocations: 0 / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.4005, allocations: 47.91 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/0.401, allocations: 279.7 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.4012, allocations: 46.62 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.642e-05/0.4013, allocations: 16.94 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.4013, allocations: 4 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.4013, allocations: 30.66 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4013, allocations: 7.938 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002613/0.4016, allocations: 65.67 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.4016, allocations: 55.41 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.4018, allocations: 140 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.4018, allocations: 29.7 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.653e-05/0.4019, allocations: 96.12 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.4019, allocations: 7.953 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.402, allocations: 21.7 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.4021, allocations: 314.8 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.648e-05/0.4022, allocations: 15.98 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.8e-05/0.4022, allocations: 23.98 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.698e-05/0.4023, allocations: 32.78 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4023, allocations: 0 / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001405/0.4025, allocations: 61.64 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.4025, allocations: 8 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4025, allocations: 0 / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4025, allocations: 0 / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.752e-05/0.4026, allocations: 7.984 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.4026, allocations: 0 / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.794e-05/0.4026, allocations: 19.94 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.4026, allocations: 3.938 kB / 1.367 GB, free: 9.836 MB / 1.061 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.0001097/0.4028, allocations: 117.8 kB / 1.367 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.4028, allocations: 4 kB / 1.367 GB, free: 9.707 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.594e-05/0.4028, allocations: 16.27 kB / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4028, allocations: 0 / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.4028, allocations: 0 / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4028, allocations: 4 kB / 1.367 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.4031, allocations: 156.6 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4031, allocations: 7.938 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.4031, allocations: 4 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.4031, allocations: 0 / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.4031, allocations: 0 / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4031, allocations: 0 / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4031, allocations: 0 / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.4033, allocations: 159.8 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.4034, allocations: 15.88 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.4034, allocations: 7.984 kB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.4035, allocations: 15.97 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.224e-05/0.4036, allocations: 11.98 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.4036, allocations: 0 / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.311e-05/0.4037, allocations: 111.1 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4037, allocations: 0 / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000222/0.4039, allocations: 11.95 kB / 1.368 GB, free: 9.125 MB / 1.061 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.0005623/0.4044, allocations: 0.6812 MB / 1.369 GB, free: 8.418 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001593/0.4046, allocations: 35.92 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4046, allocations: 4 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.455e-05/0.4047, allocations: 15.98 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.4049, allocations: 9.406 kB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.4065, allocations: 1.372 MB / 1.37 GB, free: 6.906 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.856e-05/0.4066, allocations: 83.27 kB / 1.37 GB, free: 6.805 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.833e-05/0.4067, allocations: 0 / 1.37 GB, free: 6.805 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.656e-05/0.4067, allocations: 31.36 kB / 1.37 GB, free: 6.773 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.4067, allocations: 0 / 1.37 GB, free: 6.773 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04267/0.4494, allocations: 2.576 MB / 1.373 GB, free: 4.352 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.81, allocations: 5.672 kB / 1.373 GB, free: 4.348 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.780294138006866]