Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.001637/0.001637, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001904/0.001904, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.769/2.769, allocations: 476 MB / 0.7707 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] 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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less") [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.002136/0.002136, allocations: 67.98 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3473, allocations: 170 MB / 1.284 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.003069/0.3504, allocations: 0.8421 MB / 1.285 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.3519, allocations: 0.9212 MB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.352, allocations: 3.938 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.3521, allocations: 15.81 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.732e-05/0.3522, allocations: 15.86 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.3524, allocations: 35.91 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.3526, allocations: 103.8 kB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.3527, allocations: 35.97 kB / 1.286 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.3529, allocations: 47.8 kB / 1.286 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.989e-05/0.353, allocations: 39.77 kB / 1.286 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.353, allocations: 8 kB / 1.286 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.512e-05/0.3531, allocations: 15.98 kB / 1.286 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.756e-05/0.3531, allocations: 15.92 kB / 1.286 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.3532, allocations: 23.88 kB / 1.286 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.3534, allocations: 111.5 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.3534, allocations: 3.984 kB / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3534, allocations: 4 kB / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3534, allocations: 4 kB / 1.286 GB, free: 9.629 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000695/0.3541, allocations: 333.9 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3541, allocations: 8.031 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.3543, allocations: 24.83 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.3546, allocations: 142.4 kB / 1.287 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.3546, allocations: 4.375 kB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.3546, allocations: 12.38 kB / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.3549, allocations: 90.14 kB / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3549, allocations: 192 / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.3549, allocations: 11.92 kB / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3549, allocations: 0 / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002399/0.3552, allocations: 67.94 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005455/0.3557, allocations: 286 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.3559, allocations: 62.53 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.3561, allocations: 36.92 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.3561, allocations: 0 / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.3561, allocations: 34.56 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3561, allocations: 0 / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004651/0.3566, allocations: 121.5 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.3566, allocations: 59.41 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.3568, allocations: 132 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.3568, allocations: 29.7 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.932e-05/0.3569, allocations: 108 kB / 1.288 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.3569, allocations: 7.906 kB / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.3569, allocations: 17.72 kB / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3571, allocations: 326.8 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.3572, allocations: 31.97 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.3573, allocations: 31.97 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.3576, allocations: 52.81 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3576, allocations: 4.062 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002727/0.3578, allocations: 105.6 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.3578, allocations: 4 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3578, allocations: 0 / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.3579, allocations: 4 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.358, allocations: 11.98 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.358, allocations: 0 / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.3581, allocations: 23.91 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.3581, allocations: 3.938 kB / 1.288 GB, free: 7.312 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 (5): * Single equations (assignments): 5 * 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.0001057/0.3582, allocations: 121.8 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.3582, allocations: 3.953 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.552e-05/0.3583, allocations: 12.34 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3583, allocations: 0 / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3583, allocations: 0 / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3583, allocations: 3.938 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.3585, allocations: 133.2 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3585, allocations: 0 / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.334e-05/0.3586, allocations: 15.98 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3586, allocations: 0 / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.3586, allocations: 7.984 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3586, allocations: 0 / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3586, allocations: 0 / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.3589, allocations: 191.4 kB / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.604e-05/0.3589, allocations: 3.953 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.3589, allocations: 4 kB / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.3591, allocations: 15.97 kB / 1.289 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.3591, allocations: 15.98 kB / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-06/0.3591, allocations: 0 / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.161e-05/0.3592, allocations: 113.5 kB / 1.289 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3592, allocations: 0 / 1.289 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002268/0.3595, allocations: 19.81 kB / 1.289 GB, free: 6.605 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 (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 Backend phase and start with SimCode phase: time 0.0001316/0.3596, allocations: 99.47 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002863/0.3599, allocations: 63.94 kB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3599, allocations: 7.938 kB / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.36, allocations: 31.97 kB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.3603, allocations: 12.19 kB / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004871/0.3608, allocations: 212.9 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.563e-05/0.3608, allocations: 87.19 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.3609, allocations: 11.44 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.3609, allocations: 0 / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of Templates: time 0.002985/0.3639, allocations: 1.146 MB / 1.29 GB, free: 4.887 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.111090946942568]