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.001622/0.001622, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001673/0.001673, allocations: 213.1 kB / 23.01 MB, free: 4.566 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.813/2.813, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [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.002063/0.002063, allocations: 66.66 kB / 1.119 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3827, allocations: 170 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.00218/0.3849, allocations: 0.8326 MB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.3862, allocations: 0.9172 MB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.3863, allocations: 4 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.3865, allocations: 15.8 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.291e-05/0.3865, allocations: 7.938 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.3868, allocations: 47.83 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.3869, allocations: 71.72 kB / 1.287 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.387, allocations: 23.98 kB / 1.287 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.3872, allocations: 35.91 kB / 1.287 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.677e-05/0.3873, allocations: 31.8 kB / 1.287 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.3873, allocations: 4 kB / 1.287 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.168e-05/0.3874, allocations: 8 kB / 1.287 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.3874, allocations: 11.98 kB / 1.287 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.796e-05/0.3874, allocations: 31.75 kB / 1.287 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.3876, allocations: 91.55 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3877, allocations: 0 / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3877, allocations: 0 / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.3877, allocations: 0 / 1.287 GB, free: 9.055 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.0006332/0.3883, allocations: 314 kB / 1.287 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3883, allocations: 8.031 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.3885, allocations: 20.88 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.3888, allocations: 146.3 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.3888, allocations: 4.375 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.3888, allocations: 4.375 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.389, allocations: 62.17 kB / 1.287 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.389, allocations: 192 / 1.287 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.389, allocations: 7.938 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.389, allocations: 4 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.3891, allocations: 35.91 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005645/0.3897, allocations: 291.7 kB / 1.288 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.3899, allocations: 46.56 kB / 1.288 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.458e-05/0.3899, allocations: 21 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.39, allocations: 4 kB / 1.288 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.39, allocations: 34.59 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.39, allocations: 0 / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002767/0.3903, allocations: 69.62 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.3903, allocations: 59.39 kB / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.3905, allocations: 132.5 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.3905, allocations: 29.7 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.688e-05/0.3906, allocations: 100.1 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.3906, allocations: 11.94 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.3907, allocations: 25.64 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3908, allocations: 318.8 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.53e-05/0.3909, allocations: 16 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.235e-05/0.3909, allocations: 15.98 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.497e-05/0.391, allocations: 32.78 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.391, allocations: 4 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000145/0.3912, allocations: 65.95 kB / 1.289 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3912, allocations: 8 kB / 1.289 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3912, allocations: 0 / 1.289 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3912, allocations: 0 / 1.289 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.533e-05/0.3913, allocations: 4 kB / 1.289 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.3913, allocations: 3.984 kB / 1.289 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.3913, allocations: 7.984 kB / 1.289 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.3913, allocations: 7.984 kB / 1.289 GB, free: 6.992 MB / 0.9825 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.0001035/0.3915, allocations: 125.7 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.3915, allocations: 3.953 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.3915, allocations: 16.33 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3915, allocations: 0 / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3915, allocations: 0 / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3915, allocations: 0 / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.3917, allocations: 160.7 kB / 1.289 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3917, allocations: 0 / 1.289 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.745e-05/0.3918, allocations: 4 kB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.3918, allocations: 4 kB / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.3918, allocations: 3.984 kB / 1.289 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3918, allocations: 0 / 1.289 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3918, allocations: 0 / 1.289 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.3919, allocations: 161.2 kB / 1.289 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.392, allocations: 11.89 kB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.392, allocations: 7.938 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.311e-05/0.3921, allocations: 11.98 kB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.3921, allocations: 11.92 kB / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.3921, allocations: 4 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.933e-05/0.3922, allocations: 103.2 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3922, allocations: 0 / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002186/0.3924, allocations: 11.94 kB / 1.289 GB, free: 6.293 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.0001319/0.3926, allocations: 103.2 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.3927, allocations: 35.98 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3927, allocations: 0 / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.249e-05/0.3928, allocations: 19.92 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.393, allocations: 10.41 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.3934, allocations: 188.6 kB / 1.29 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.3938, allocations: 0.7 MB / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.3938, allocations: 11.42 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3938, allocations: 0 / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of Templates: time 0.002834/0.3966, allocations: 0.9754 MB / 1.291 GB, free: 4.195 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 400] 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/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: 11.196867366001243]