Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001727/0.001727, 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.001982/0.001982, allocations: 190 kB / 22.23 MB, free: 5.156 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.54/1.54, 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-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.281/3.281, allocations: 496 MB / 0.7835 GB, free: 33.71 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-maint.12.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: 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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 74.38 kB / 1.138 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4514/0.4535, allocations: 173.6 MB / 1.307 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002539/0.456, allocations: 0.8404 MB / 1.308 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.4574, allocations: 0.8779 MB / 1.309 GB, free: 64 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.4575, allocations: 3.938 kB / 1.309 GB, free: 60 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.4577, allocations: 11.88 kB / 1.309 GB, free: 48 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.143e-05/0.4577, allocations: 15.86 kB / 1.309 GB, free: 32 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.458, allocations: 27.91 kB / 1.309 GB, free: 4 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.4582, allocations: 83.7 kB / 1.309 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.4583, allocations: 16 kB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.4584, allocations: 31.86 kB / 1.309 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.601e-05/0.4585, allocations: 31.83 kB / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.4585, allocations: 8 kB / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.451e-05/0.4585, allocations: 4 kB / 1.309 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.659e-05/0.4586, allocations: 15.94 kB / 1.309 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.4586, allocations: 35.73 kB / 1.309 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.4588, allocations: 83.61 kB / 1.309 GB, free: 15.7 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4588, allocations: 0 / 1.309 GB, free: 15.7 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4588, allocations: 0 / 1.309 GB, free: 15.7 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.076e-06/0.4588, allocations: 0 / 1.309 GB, free: 15.7 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.0006024/0.4594, allocations: 310 kB / 1.31 GB, free: 15.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.4594, allocations: 12.92 kB / 1.31 GB, free: 15.35 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.4595, allocations: 8.891 kB / 1.31 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.4598, allocations: 148.7 kB / 1.31 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.4598, allocations: 8.375 kB / 1.31 GB, free: 15.17 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.4598, allocations: 4.359 kB / 1.31 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.46, allocations: 62.17 kB / 1.31 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.46, allocations: 192 / 1.31 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.46, allocations: 11.94 kB / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.46, allocations: 0 / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.4601, allocations: 31.92 kB / 1.31 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/0.4607, allocations: 299.7 kB / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.4609, allocations: 46.55 kB / 1.31 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.572e-05/0.4609, allocations: 21 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.461, allocations: 4 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.461, allocations: 34.59 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.461, allocations: 0 / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0002764/0.4613, allocations: 69.67 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.4613, allocations: 51.41 kB / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.4614, allocations: 133.8 kB / 1.311 GB, free: 14.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.4615, allocations: 33.7 kB / 1.311 GB, free: 14.28 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.966e-05/0.4615, allocations: 108.1 kB / 1.311 GB, free: 14.17 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.4616, allocations: 3.953 kB / 1.311 GB, free: 14.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.4616, allocations: 17.72 kB / 1.311 GB, free: 14.14 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4617, allocations: 318.8 kB / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.53e-05/0.4618, allocations: 19.98 kB / 1.311 GB, free: 13.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.07e-05/0.4618, allocations: 16 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.612e-05/0.4619, allocations: 28.78 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.4619, allocations: 7.984 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001281/0.4621, allocations: 65.64 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.4621, allocations: 4 kB / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4621, allocations: 0 / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.4621, allocations: 0 / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.175e-05/0.4622, allocations: 7.984 kB / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.4622, allocations: 0 / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.296e-05/0.4622, allocations: 15.94 kB / 1.311 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.4622, allocations: 0 / 1.311 GB, free: 13.65 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.0001119/0.4624, allocations: 131.5 kB / 1.311 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.4624, allocations: 4 kB / 1.311 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.4624, allocations: 8.344 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.4624, allocations: 0 / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4624, allocations: 0 / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4624, allocations: 8.312 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.4626, allocations: 156.6 kB / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.4626, allocations: 0 / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.4627, allocations: 4 kB / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.4627, allocations: 7.984 kB / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.4627, allocations: 3.938 kB / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4627, allocations: 0 / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.4627, allocations: 0 / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.4629, allocations: 155.5 kB / 1.312 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.4629, allocations: 11.94 kB / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.4629, allocations: 7.938 kB / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.79e-05/0.463, allocations: 19.98 kB / 1.312 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.4631, allocations: 11.92 kB / 1.312 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.4631, allocations: 0 / 1.312 GB, free: 13.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.171e-05/0.4631, allocations: 100.8 kB / 1.312 GB, free: 12.96 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4631, allocations: 0 / 1.312 GB, free: 12.96 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002204/0.4634, allocations: 15.89 kB / 1.312 GB, free: 12.94 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.0001341/0.4635, allocations: 99.25 kB / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001554/0.4636, allocations: 39.97 kB / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4636, allocations: 0 / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.609e-05/0.4637, allocations: 19.92 kB / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.464, allocations: 9.969 kB / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/0.4644, allocations: 162.7 kB / 1.312 GB, free: 12.59 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.4647, allocations: 0.6963 MB / 1.313 GB, free: 11.86 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.81e-05/0.4647, allocations: 3.75 kB / 1.313 GB, free: 11.86 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.4648, allocations: 15.42 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.4648, allocations: 0 / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of Templates: time 0.003735/0.4685, allocations: 0.8647 MB / 1.314 GB, free: 10.98 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.722221448086202]