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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002151/0.002151, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 249.9 MB, free: 13.59 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.823/2.823, allocations: 476.7 MB / 0.7634 GB, free: 11.02 MB / 0.6231 GB [Timeout remaining time 86] 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=508,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=508,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 71.89 kB / 1.108 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021/1.023, allocations: 168.7 MB / 1.272 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002166/1.025, allocations: 0.8246 MB / 1.273 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001087/1.026, allocations: 0.878 MB / 1.274 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.722e-05/1.026, allocations: 4 kB / 1.274 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001356/1.027, allocations: 11.86 kB / 1.274 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.297e-05/1.027, allocations: 15.86 kB / 1.274 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/1.027, allocations: 27.91 kB / 1.274 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/1.027, allocations: 71.78 kB / 1.274 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/1.027, allocations: 27.98 kB / 1.274 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.333e-05/1.027, allocations: 31.84 kB / 1.274 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.767e-05/1.027, allocations: 27.8 kB / 1.274 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/1.027, allocations: 8 kB / 1.274 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.445e-05/1.027, allocations: 4 kB / 1.274 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.897e-05/1.027, allocations: 19.92 kB / 1.274 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.934e-05/1.027, allocations: 27.8 kB / 1.274 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001372/1.028, allocations: 78.08 kB / 1.274 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.028, allocations: 0 / 1.274 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.793e-06/1.028, allocations: 0 / 1.274 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.168e-05/1.028, allocations: 4 kB / 1.274 GB, free: 2.473 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.0006001/1.028, allocations: 391.1 kB / 1.275 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/1.028, allocations: 12.03 kB / 1.275 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/1.028, allocations: 8.891 kB / 1.275 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/1.029, allocations: 204.2 kB / 1.275 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/1.029, allocations: 12.25 kB / 1.275 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/1.029, allocations: 8.375 kB / 1.275 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/1.029, allocations: 58.23 kB / 1.275 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/1.029, allocations: 4.125 kB / 1.275 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/1.029, allocations: 7.938 kB / 1.275 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/1.029, allocations: 0 / 1.275 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/1.029, allocations: 35.97 kB / 1.275 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/1.029, allocations: 324.6 kB / 1.275 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/1.029, allocations: 50.58 kB / 1.276 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.869e-05/1.03, allocations: 16.92 kB / 1.276 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/1.03, allocations: 0 / 1.276 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/1.03, allocations: 30.56 kB / 1.276 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 2.725e-06/1.03, allocations: 7.984 kB / 1.276 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002648/1.03, allocations: 73.75 kB / 1.276 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/1.03, allocations: 51.41 kB / 1.276 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/1.03, allocations: 136 kB / 1.276 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/1.03, allocations: 29.7 kB / 1.276 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/1.03, allocations: 96.12 kB / 1.276 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/1.03, allocations: 7.953 kB / 1.276 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/1.03, allocations: 17.66 kB / 1.276 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.03, allocations: 326.8 kB / 1.276 GB, free: 396 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.983e-05/1.03, allocations: 12 kB / 1.276 GB, free: 384 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.189e-05/1.03, allocations: 19.98 kB / 1.276 GB, free: 364 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.186e-05/1.03, allocations: 28.84 kB / 1.276 GB, free: 332 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/1.03, allocations: 0 / 1.276 GB, free: 332 kB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001416/1.031, allocations: 69.62 kB / 1.276 GB, free: 256 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/1.031, allocations: 4 kB / 1.276 GB, free: 252 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/1.031, allocations: 4 kB / 1.276 GB, free: 248 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/1.031, allocations: 0 / 1.276 GB, free: 248 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.086e-05/1.031, allocations: 7.938 kB / 1.276 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/1.031, allocations: 0 / 1.276 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.177e-05/1.031, allocations: 11.98 kB / 1.276 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/1.031, allocations: 4 kB / 1.276 GB, free: 224 kB / 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 9.912e-05/1.031, allocations: 123 kB / 1.277 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/1.031, allocations: 7.953 kB / 1.277 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/1.031, allocations: 12.25 kB / 1.277 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/1.031, allocations: 3.938 kB / 1.277 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.031, allocations: 4 kB / 1.277 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/1.031, allocations: 0 / 1.277 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/1.031, allocations: 185.5 kB / 1.277 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.031, allocations: 0 / 1.277 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.322e-05/1.031, allocations: 7.984 kB / 1.277 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/1.031, allocations: 0 / 1.277 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/1.031, allocations: 0 / 1.277 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.031, allocations: 0 / 1.277 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/1.031, allocations: 4 kB / 1.277 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/1.031, allocations: 163.4 kB / 1.277 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/1.031, allocations: 89 kB / 1.277 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/1.031, allocations: 0 / 1.277 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/1.032, allocations: 11.98 kB / 1.277 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/1.032, allocations: 7.984 kB / 1.277 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/1.032, allocations: 4 kB / 1.277 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.926e-05/1.032, allocations: 107.2 kB / 1.277 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/1.032, allocations: 0 / 1.277 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002184/1.032, allocations: 11.94 kB / 1.277 GB, free: 15.39 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.0001476/1.032, allocations: 99.62 kB / 1.277 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001556/1.032, allocations: 35.97 kB / 1.277 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/1.032, allocations: 0 / 1.277 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.916e-05/1.032, allocations: 23.92 kB / 1.277 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/1.033, allocations: 13.56 kB / 1.277 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/1.033, allocations: 210.5 kB / 1.278 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/1.033, allocations: 0.6885 MB / 1.278 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/1.033, allocations: 15.42 kB / 1.278 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/1.033, allocations: 0 / 1.278 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of Templates: time 0.002661/1.036, allocations: 0.9783 MB / 1.279 GB, free: 13.27 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