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.00178/0.00178, allocations: 113.3 kB / 17.08 MB, free: 6.012 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.002031/0.002031, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.481/1.481, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.012/3.012, allocations: 489.2 MB / 0.7687 GB, free: 3.773 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.002058/0.002058, allocations: 71.88 kB / 1.103 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184/1.186, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001873/1.188, allocations: 0.8207 MB / 1.263 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009527/1.189, allocations: 0.8678 MB / 1.264 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.106e-05/1.189, allocations: 6.625 kB / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/1.189, allocations: 14.67 kB / 1.264 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.417e-05/1.189, allocations: 10.77 kB / 1.264 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/1.19, allocations: 26.34 kB / 1.264 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/1.19, allocations: 80.98 kB / 1.264 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/1.19, allocations: 28.11 kB / 1.264 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.274e-05/1.19, allocations: 29.66 kB / 1.264 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.699e-05/1.19, allocations: 33.47 kB / 1.265 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/1.19, allocations: 5.719 kB / 1.265 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.579e-05/1.19, allocations: 5.156 kB / 1.265 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/1.19, allocations: 16.47 kB / 1.265 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/1.19, allocations: 27.66 kB / 1.265 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/1.19, allocations: 84.42 kB / 1.265 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.19, allocations: 0.7812 kB / 1.265 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/1.19, allocations: 0 / 1.265 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.899e-06/1.19, allocations: 3.938 kB / 1.265 GB, free: 6.637 MB / 0.9981 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.0004735/1.191, allocations: 393 kB / 1.265 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/1.191, allocations: 10.59 kB / 1.265 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/1.191, allocations: 12.84 kB / 1.265 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/1.191, allocations: 202.9 kB / 1.265 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/1.191, allocations: 2.375 kB / 1.265 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/1.191, allocations: 6.844 kB / 1.265 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/1.191, allocations: 63.72 kB / 1.265 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/1.191, allocations: 4.188 kB / 1.265 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/1.191, allocations: 8.75 kB / 1.265 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/1.191, allocations: 0.7812 kB / 1.265 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/1.191, allocations: 32.2 kB / 1.265 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/1.192, allocations: 319.7 kB / 1.266 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/1.192, allocations: 52.02 kB / 1.266 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.854e-05/1.192, allocations: 19.11 kB / 1.266 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/1.192, allocations: 4.781 kB / 1.266 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.264e-05/1.192, allocations: 31.95 kB / 1.266 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/1.192, allocations: 0 / 1.266 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002535/1.192, allocations: 72.17 kB / 1.266 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/1.193, allocations: 56.77 kB / 1.266 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.485e-05/1.193, allocations: 137.7 kB / 1.266 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/1.193, allocations: 34.94 kB / 1.266 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/1.193, allocations: 98.34 kB / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/1.193, allocations: 6.922 kB / 1.266 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/1.193, allocations: 18.53 kB / 1.266 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.614e-05/1.193, allocations: 319.3 kB / 1.266 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.516e-05/1.193, allocations: 18.47 kB / 1.266 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.654e-05/1.193, allocations: 23.42 kB / 1.267 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.408e-05/1.193, allocations: 26.3 kB / 1.267 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/1.193, allocations: 0.7812 kB / 1.267 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001281/1.193, allocations: 62.53 kB / 1.267 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/1.193, allocations: 5.219 kB / 1.267 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/1.193, allocations: 0.5625 kB / 1.267 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/1.193, allocations: 4.75 kB / 1.267 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.564e-05/1.193, allocations: 5.094 kB / 1.267 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/1.193, allocations: 8.766 kB / 1.267 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.545e-05/1.193, allocations: 17.55 kB / 1.267 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/1.193, allocations: 1.406 kB / 1.267 GB, free: 4.781 MB / 0.9981 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 5.079e-05/1.193, allocations: 122.5 kB / 1.267 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/1.193, allocations: 7.969 kB / 1.267 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/1.193, allocations: 10.94 kB / 1.267 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/1.193, allocations: 0.75 kB / 1.267 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/1.193, allocations: 5.641 kB / 1.267 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/1.193, allocations: 3.984 kB / 1.267 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/1.194, allocations: 182.8 kB / 1.267 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.194, allocations: 0.5156 kB / 1.267 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/1.194, allocations: 5.031 kB / 1.267 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/1.194, allocations: 1.828 kB / 1.267 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/1.194, allocations: 0 / 1.267 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/1.194, allocations: 1.891 kB / 1.267 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.194, allocations: 0 / 1.267 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/1.194, allocations: 163.2 kB / 1.267 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/1.194, allocations: 87.5 kB / 1.267 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/1.194, allocations: 6.547 kB / 1.267 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/1.194, allocations: 8.469 kB / 1.267 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/1.194, allocations: 7.703 kB / 1.267 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/1.194, allocations: 2.609 kB / 1.267 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.768e-05/1.194, allocations: 105.9 kB / 1.267 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.194, allocations: 0 / 1.267 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002151/1.194, allocations: 19.2 kB / 1.267 GB, free: 4.078 MB / 0.9981 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.0001138/1.194, allocations: 104.8 kB / 1.267 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001566/1.195, allocations: 33.45 kB / 1.267 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.195, allocations: 0 / 1.267 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.739e-05/1.195, allocations: 20.52 kB / 1.267 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/1.195, allocations: 7.328 kB / 1.268 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003232/1.195, allocations: 196.4 kB / 1.268 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/1.195, allocations: 0.6893 MB / 1.268 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/1.195, allocations: 12.31 kB / 1.268 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/1.195, allocations: 0 / 1.268 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of Templates: time 0.002914/1.198, allocations: 0.9824 MB / 1.269 GB, free: 3.016 MB / 0.9981 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.8009133040905]