Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.001916/0.001916, allocations: 80.28 kB / 19.18 MB, free: 2.527 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.002522/0.002522, allocations: 170.6 kB / 22.46 MB, free: 5.355 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: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.945/2.945, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 1 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/3.073e-05, allocations: 2.281 kB / 1 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001861/0.001891, allocations: 0.7077 MB / 1.001 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.003156, allocations: 0.8587 MB / 1.002 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.122e-05/0.003197, allocations: 0 / 1.002 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.383e-05/0.003231, allocations: 3.938 kB / 1.002 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.455e-05/0.003306, allocations: 7.938 kB / 1.002 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.003464, allocations: 23.97 kB / 1.002 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.873e-05/0.003563, allocations: 43.86 kB / 1.002 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.003677, allocations: 19.91 kB / 1.002 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 9.265e-05/0.00377, allocations: 23.98 kB / 1.002 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.274e-05/0.003833, allocations: 23.91 kB / 1.002 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.003867, allocations: 8 kB / 1.002 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 2.03e-05/0.003888, allocations: 4 kB / 1.002 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.504e-05/0.003913, allocations: 11.98 kB / 1.002 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.003946, allocations: 15.92 kB / 1.002 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.004062, allocations: 47.84 kB / 1.002 GB, free: 4.398 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.004065, allocations: 0 / 1.002 GB, free: 4.398 MB / 0.9044 GB Notification: Performance of FrontEnd: time 5.11e-07/0.004066, allocations: 0 / 1.002 GB, free: 4.398 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.004075, allocations: 0 / 1.002 GB, free: 4.398 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005802/0.004655, allocations: 278.3 kB / 1.002 GB, free: 4.098 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.004695, allocations: 12.03 kB / 1.002 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.00473, allocations: 8.891 kB / 1.002 GB, free: 4.078 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.004891, allocations: 113.7 kB / 1.002 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.004905, allocations: 8.312 kB / 1.002 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.004924, allocations: 4.375 kB / 1.002 GB, free: 3.93 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.005144, allocations: 66.22 kB / 1.002 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.005159, allocations: 7.922 kB / 1.002 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.005171, allocations: 0 / 1.002 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.005176, allocations: 0 / 1.002 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.005403, allocations: 55.89 kB / 1.002 GB, free: 3.797 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.005859, allocations: 232.5 kB / 1.003 GB, free: 3.539 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.006092, allocations: 62.48 kB / 1.003 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.006212, allocations: 36.91 kB / 1.003 GB, free: 3.43 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.006225, allocations: 3.938 kB / 1.003 GB, free: 3.426 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.006255, allocations: 34.5 kB / 1.003 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.006256, allocations: 0 / 1.003 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0004685/0.006725, allocations: 105.6 kB / 1.003 GB, free: 3.273 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.006764, allocations: 51.41 kB / 1.003 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.006875, allocations: 117.8 kB / 1.003 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/0.006924, allocations: 25.7 kB / 1.003 GB, free: 3.055 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.006982, allocations: 84.14 kB / 1.003 GB, free: 2.969 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.007005, allocations: 11.89 kB / 1.003 GB, free: 2.957 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.007051, allocations: 21.7 kB / 1.003 GB, free: 2.93 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.007197, allocations: 310.8 kB / 1.003 GB, free: 2.617 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.00731, allocations: 23.97 kB / 1.003 GB, free: 2.594 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.007421, allocations: 35.91 kB / 1.004 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.007622, allocations: 48.83 kB / 1.004 GB, free: 2.508 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.007626, allocations: 3.938 kB / 1.004 GB, free: 2.504 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002525/0.007879, allocations: 85.59 kB / 1.004 GB, free: 2.414 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.007894, allocations: 4 kB / 1.004 GB, free: 2.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.007898, allocations: 0 / 1.004 GB, free: 2.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.00792, allocations: 8 kB / 1.004 GB, free: 2.402 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.00804, allocations: 11.98 kB / 1.004 GB, free: 2.391 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.008044, allocations: 0 / 1.004 GB, free: 2.391 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.194e-05/0.008126, allocations: 15.98 kB / 1.004 GB, free: 2.375 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.008134, allocations: 0 / 1.004 GB, free: 2.375 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesThr.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.0001112/0.008245, allocations: 122.2 kB / 1.004 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.008275, allocations: 7.938 kB / 1.004 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.008304, allocations: 12 kB / 1.004 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.008306, allocations: 0 / 1.004 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.008311, allocations: 0 / 1.004 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.008314, allocations: 4 kB / 1.004 GB, free: 2.219 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.008482, allocations: 113.3 kB / 1.004 GB, free: 2.078 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.008485, allocations: 3.938 kB / 1.004 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.992e-05/0.008575, allocations: 11.98 kB / 1.004 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.008577, allocations: 0 / 1.004 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.008587, allocations: 4 kB / 1.004 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.008588, allocations: 0 / 1.004 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.008593, allocations: 3.984 kB / 1.004 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/0.008922, allocations: 179.8 kB / 1.004 GB, free: 1.863 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.008939, allocations: 15.88 kB / 1.004 GB, free: 1.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.008955, allocations: 3.938 kB / 1.004 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.009062, allocations: 7.984 kB / 1.004 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.519e-05/0.009127, allocations: 11.98 kB / 1.004 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.009132, allocations: 0 / 1.004 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.648e-05/0.009189, allocations: 95.52 kB / 1.004 GB, free: 1.73 MB / 0.9044 GB Notification: Performance of sort global known variables: time 8e-08/0.009189, allocations: 0 / 1.004 GB, free: 1.73 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002221/0.009411, allocations: 8 kB / 1.004 GB, free: 1.723 MB / 0.9044 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 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * 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.0001404/0.009551, allocations: 99.23 kB / 1.004 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002815/0.009833, allocations: 55.95 kB / 1.004 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.009835, allocations: 0 / 1.004 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.00996, allocations: 31.91 kB / 1.004 GB, free: 1.527 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.01027, allocations: 7.938 kB / 1.004 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.01068, allocations: 132.8 kB / 1.005 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.2e-05/0.01076, allocations: 67.34 kB / 1.005 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.153e-05/0.0108, allocations: 7.906 kB / 1.005 GB, free: 1.27 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.01085, allocations: 16.48 kB / 1.005 GB, free: 1.254 MB / 0.9044 GB Notification: Performance of SimCode: time 5.11e-07/0.01085, allocations: 0 / 1.005 GB, free: 1.254 MB / 0.9044 GB Notification: Performance of Templates: time 0.003655/0.01451, allocations: 0.9695 MB / 1.006 GB, free: 304 kB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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: 8.279221553355455]