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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 111 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 196.5 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.852/2.852, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 75.89 kB / 1.104 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8967/0.8987, allocations: 168.7 MB / 1.269 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002753/0.9015, allocations: 0.8207 MB / 1.27 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.903, allocations: 0.8819 MB / 1.27 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.9032, allocations: 7.938 kB / 1.27 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.9033, allocations: 15.81 kB / 1.27 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.104e-05/0.9034, allocations: 3.938 kB / 1.27 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.9036, allocations: 35.89 kB / 1.271 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.9038, allocations: 71.83 kB / 1.271 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.9039, allocations: 19.98 kB / 1.271 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.9041, allocations: 35.78 kB / 1.271 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.38e-05/0.9041, allocations: 27.86 kB / 1.271 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.9042, allocations: 8 kB / 1.271 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.428e-05/0.9042, allocations: 4 kB / 1.271 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.909e-05/0.9042, allocations: 23.92 kB / 1.271 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.9043, allocations: 23.81 kB / 1.271 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.9044, allocations: 81.5 kB / 1.271 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.9045, allocations: 0 / 1.271 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9045, allocations: 3.938 kB / 1.271 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.9045, allocations: 0 / 1.271 GB, free: 3.055 MB / 0.9669 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.000671/0.9051, allocations: 395 kB / 1.271 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.9052, allocations: 12.03 kB / 1.271 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.9052, allocations: 38.75 kB / 1.271 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.9053, allocations: 8.891 kB / 1.271 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.9056, allocations: 206.4 kB / 1.271 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.9056, allocations: 8.375 kB / 1.271 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.9056, allocations: 384 / 1.271 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.9058, allocations: 66.17 kB / 1.272 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.9058, allocations: 7.938 kB / 1.272 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.9058, allocations: 0 / 1.272 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.9058, allocations: 4 kB / 1.272 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.906, allocations: 31.98 kB / 1.272 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005843/0.9065, allocations: 316.7 kB / 1.272 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.9067, allocations: 50.55 kB / 1.272 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.656e-05/0.9068, allocations: 16.92 kB / 1.272 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.9068, allocations: 0 / 1.272 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.9068, allocations: 34.56 kB / 1.272 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.9068, allocations: 0 / 1.272 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002839/0.9071, allocations: 77.72 kB / 1.272 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.9072, allocations: 51.41 kB / 1.272 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.9073, allocations: 141.8 kB / 1.272 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.9073, allocations: 29.7 kB / 1.272 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.205e-05/0.9074, allocations: 92.14 kB / 1.272 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.9074, allocations: 7.938 kB / 1.272 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.9075, allocations: 17.72 kB / 1.272 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.9077, allocations: 326.8 kB / 1.273 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.128e-05/0.9077, allocations: 12 kB / 1.273 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.3e-05/0.9078, allocations: 15.98 kB / 1.273 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.461e-05/0.9078, allocations: 37.05 kB / 1.273 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.9078, allocations: 0 / 1.273 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001355/0.908, allocations: 69.62 kB / 1.273 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.908, allocations: 6.031 kB / 1.273 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.908, allocations: 0 / 1.273 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.908, allocations: 0 / 1.273 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.087e-05/0.9081, allocations: 8 kB / 1.273 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.9081, allocations: 0 / 1.273 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.513e-05/0.9082, allocations: 23.86 kB / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.9082, allocations: 3.938 kB / 1.273 GB, free: 0.75 MB / 0.9669 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.000106/0.9083, allocations: 117.8 kB / 1.273 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.9083, allocations: 7.953 kB / 1.273 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.9083, allocations: 8.25 kB / 1.273 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.9083, allocations: 4 kB / 1.273 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.9083, allocations: 0 / 1.273 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.9083, allocations: 0 / 1.273 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.9086, allocations: 185.6 kB / 1.273 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.9086, allocations: 3.938 kB / 1.273 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.9086, allocations: 7.984 kB / 1.273 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.9086, allocations: 0 / 1.273 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.9086, allocations: 0 / 1.273 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9086, allocations: 0 / 1.273 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.9086, allocations: 0 / 1.273 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.9088, allocations: 159.4 kB / 1.273 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.9089, allocations: 89.06 kB / 1.273 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.9089, allocations: 4 kB / 1.273 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.874e-05/0.909, allocations: 11.98 kB / 1.273 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.909, allocations: 7.984 kB / 1.273 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.9091, allocations: 0 / 1.273 GB, free: 56 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001019/0.9092, allocations: 107.2 kB / 1.274 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9092, allocations: 0 / 1.274 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002123/0.9094, allocations: 8 kB / 1.274 GB, free: 15.94 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 (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.00063/0.91, allocations: 0.705 MB / 1.274 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001561/0.9102, allocations: 27.98 kB / 1.274 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9102, allocations: 4 kB / 1.274 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.862e-05/0.9102, allocations: 19.92 kB / 1.274 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.9105, allocations: 12.11 kB / 1.274 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.9121, allocations: 1.405 MB / 1.276 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.9124, allocations: 0.6885 MB / 1.276 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.176e-05/0.9125, allocations: 7.984 kB / 1.276 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.9125, allocations: 23.44 kB / 1.276 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.9125, allocations: 0 / 1.276 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/0.9383, allocations: 2.007 MB / 1.278 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.961, allocations: 24.53 kB / 1.278 GB, free: 11 MB / 0.9825 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.191816792823374]