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.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.001768/0.001768, allocations: 110 kB / 18.93 MB, free: 2.945 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.001729/0.001729, allocations: 188 kB / 22.22 MB, free: 5.164 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.495/1.495, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.24/3.24, allocations: 0.4893 GB / 0.7884 GB, free: 33.21 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 66.3 kB / 1.145 GB, free: 30.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4853/0.4874, allocations: 174.9 MB / 1.316 GB, free: 9.656 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.00324/0.4906, allocations: 0.8228 MB / 1.317 GB, free: 8.836 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.4924, allocations: 0.8857 MB / 1.318 GB, free: 7.938 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.4925, allocations: 0 / 1.318 GB, free: 7.938 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.4927, allocations: 15.81 kB / 1.318 GB, free: 7.922 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.877e-05/0.4927, allocations: 11.92 kB / 1.318 GB, free: 7.91 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.493, allocations: 27.92 kB / 1.318 GB, free: 7.883 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.4931, allocations: 75.81 kB / 1.318 GB, free: 7.809 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.4933, allocations: 27.92 kB / 1.318 GB, free: 7.781 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.4934, allocations: 27.88 kB / 1.318 GB, free: 7.754 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.404e-05/0.4935, allocations: 31.83 kB / 1.318 GB, free: 7.723 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.4935, allocations: 12 kB / 1.318 GB, free: 7.711 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.663e-05/0.4935, allocations: 4 kB / 1.318 GB, free: 7.707 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3e-05/0.4935, allocations: 15.88 kB / 1.318 GB, free: 7.691 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.399e-05/0.4936, allocations: 31.8 kB / 1.318 GB, free: 7.66 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.4938, allocations: 83.55 kB / 1.318 GB, free: 7.578 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.4938, allocations: 4 kB / 1.318 GB, free: 7.574 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4938, allocations: 3.938 kB / 1.318 GB, free: 7.57 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.4938, allocations: 0 / 1.318 GB, free: 7.57 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.0006653/0.4945, allocations: 310 kB / 1.318 GB, free: 7.234 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4945, allocations: 12.03 kB / 1.318 GB, free: 7.223 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.4946, allocations: 8.891 kB / 1.318 GB, free: 7.215 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.4949, allocations: 142.4 kB / 1.319 GB, free: 7.051 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.4949, allocations: 8.359 kB / 1.319 GB, free: 7.043 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.4949, allocations: 384 / 1.319 GB, free: 7.043 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.4951, allocations: 66.17 kB / 1.319 GB, free: 6.973 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.4951, allocations: 192 / 1.319 GB, free: 6.973 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.4951, allocations: 11.94 kB / 1.319 GB, free: 6.961 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4951, allocations: 0 / 1.319 GB, free: 6.961 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.4952, allocations: 27.98 kB / 1.319 GB, free: 6.934 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005521/0.4957, allocations: 299.7 kB / 1.319 GB, free: 6.598 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.4959, allocations: 42.56 kB / 1.319 GB, free: 6.547 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.228e-05/0.496, allocations: 21 kB / 1.319 GB, free: 6.523 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.496, allocations: 0 / 1.319 GB, free: 6.523 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.496, allocations: 34.56 kB / 1.319 GB, free: 6.48 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.496, allocations: 0 / 1.319 GB, free: 6.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0002958/0.4963, allocations: 81.66 kB / 1.319 GB, free: 6.395 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.4964, allocations: 51.41 kB / 1.319 GB, free: 6.332 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.4965, allocations: 135.9 kB / 1.319 GB, free: 6.191 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.4966, allocations: 29.7 kB / 1.319 GB, free: 6.156 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.953e-05/0.4966, allocations: 104 kB / 1.319 GB, free: 6.051 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.4967, allocations: 3.953 kB / 1.319 GB, free: 6.047 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.4967, allocations: 21.7 kB / 1.319 GB, free: 6.02 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.4969, allocations: 318.8 kB / 1.32 GB, free: 5.699 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.515e-05/0.4969, allocations: 15.98 kB / 1.32 GB, free: 5.684 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.57e-05/0.497, allocations: 20 kB / 1.32 GB, free: 5.664 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.961e-05/0.4971, allocations: 32.77 kB / 1.32 GB, free: 5.629 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.4971, allocations: 0 / 1.32 GB, free: 5.629 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001414/0.4972, allocations: 61.69 kB / 1.32 GB, free: 5.562 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.4972, allocations: 7.938 kB / 1.32 GB, free: 5.555 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4972, allocations: 0 / 1.32 GB, free: 5.555 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.4973, allocations: 0 / 1.32 GB, free: 5.555 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/0.4973, allocations: 7.984 kB / 1.32 GB, free: 5.547 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.4973, allocations: 3.938 kB / 1.32 GB, free: 5.543 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.508e-05/0.4974, allocations: 23.94 kB / 1.32 GB, free: 5.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.4974, allocations: 0 / 1.32 GB, free: 5.52 MB / 1.014 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.0001212/0.4975, allocations: 117.8 kB / 1.32 GB, free: 5.395 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.4976, allocations: 4 kB / 1.32 GB, free: 5.391 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.4976, allocations: 8.344 kB / 1.32 GB, free: 5.371 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4976, allocations: 0 / 1.32 GB, free: 5.371 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.4976, allocations: 8.312 kB / 1.32 GB, free: 5.363 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4976, allocations: 0 / 1.32 GB, free: 5.363 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.4978, allocations: 160.6 kB / 1.32 GB, free: 5.164 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4978, allocations: 3.938 kB / 1.32 GB, free: 5.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.4979, allocations: 4 kB / 1.32 GB, free: 5.156 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.4979, allocations: 3.984 kB / 1.32 GB, free: 5.152 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.4979, allocations: 0 / 1.32 GB, free: 5.152 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4979, allocations: 0 / 1.32 GB, free: 5.152 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4979, allocations: 0 / 1.32 GB, free: 5.152 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.4981, allocations: 159.5 kB / 1.32 GB, free: 4.98 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.953e-05/0.4981, allocations: 11.94 kB / 1.32 GB, free: 4.969 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.4981, allocations: 0 / 1.32 GB, free: 4.969 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.4982, allocations: 11.98 kB / 1.32 GB, free: 4.957 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.4983, allocations: 11.98 kB / 1.32 GB, free: 4.945 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.4983, allocations: 4 kB / 1.32 GB, free: 4.941 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.251e-05/0.4984, allocations: 100.8 kB / 1.32 GB, free: 4.844 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.4984, allocations: 0 / 1.32 GB, free: 4.844 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002311/0.4986, allocations: 15.89 kB / 1.321 GB, free: 4.828 MB / 1.014 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.0001442/0.4988, allocations: 107.7 kB / 1.321 GB, free: 4.715 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001823/0.499, allocations: 31.98 kB / 1.321 GB, free: 4.684 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.499, allocations: 0 / 1.321 GB, free: 4.684 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.853e-05/0.499, allocations: 15.98 kB / 1.321 GB, free: 4.668 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.4993, allocations: 15.89 kB / 1.321 GB, free: 4.652 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000435/0.4997, allocations: 170.6 kB / 1.321 GB, free: 4.461 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.5001, allocations: 0.6905 MB / 1.322 GB, free: 3.746 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.86e-05/0.5002, allocations: 7.75 kB / 1.322 GB, free: 3.738 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.5002, allocations: 15.42 kB / 1.322 GB, free: 3.723 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.5002, allocations: 0 / 1.322 GB, free: 3.723 MB / 1.014 GB Notification: Performance of Templates: time 0.003631/0.5039, allocations: 0.8831 MB / 1.322 GB, free: 2.844 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 800] 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/jenkins/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: 9.407277457416058]