Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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.001467/0.001467, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001654/0.001654, allocations: 210.7 kB / 22.24 MB, free: 5.262 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.622/1.622, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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 3.603/3.603, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") [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.00218/0.00218, allocations: 71.02 kB / 1.186 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4742/0.4764, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002812/0.4792, allocations: 0.6898 MB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.4807, allocations: 0.8591 MB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.4808, allocations: 4 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.772e-05/0.4808, allocations: 3.938 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.007e-05/0.4809, allocations: 3.938 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.4811, allocations: 31.89 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.4812, allocations: 39.97 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.4813, allocations: 8 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.833e-05/0.4814, allocations: 31.86 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.95e-05/0.4815, allocations: 27.89 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.4816, allocations: 4 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.485e-05/0.4816, allocations: 4 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.2e-05/0.4816, allocations: 7.938 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.4816, allocations: 19.92 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.4818, allocations: 43.8 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.4818, allocations: 0 / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.935e-06/0.4818, allocations: 0 / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.4818, allocations: 0 / 1.366 GB, free: 11.81 MB / 1.061 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.0006871/0.4825, allocations: 282.3 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/0.4825, allocations: 8.031 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.006e-05/0.4826, allocations: 8.875 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.4828, allocations: 114.5 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.4828, allocations: 8.312 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.4829, allocations: 4.375 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.4831, allocations: 65.59 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.4831, allocations: 4 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.4832, allocations: 0 / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4832, allocations: 0 / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002252/0.4834, allocations: 55.95 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005076/0.4839, allocations: 236.4 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.4841, allocations: 62.48 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.4842, allocations: 32.89 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.4843, allocations: 11.94 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.4843, allocations: 30.56 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.4843, allocations: 4 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0004637/0.4848, allocations: 109.6 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.4848, allocations: 51.41 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.4849, allocations: 105.8 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.485, allocations: 25.7 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.485, allocations: 88.14 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.4851, allocations: 7.906 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.4851, allocations: 21.7 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.4852, allocations: 322.8 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.4854, allocations: 23.97 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.635e-05/0.4854, allocations: 27.97 kB / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.4856, allocations: 52.81 kB / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4856, allocations: 0 / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002708/0.4859, allocations: 85.59 kB / 1.367 GB, free: 9.824 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4859, allocations: 8 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4859, allocations: 0 / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.486, allocations: 4 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.4861, allocations: 11.98 kB / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.4861, allocations: 0 / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.966e-05/0.4862, allocations: 11.94 kB / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.4862, allocations: 0 / 1.367 GB, free: 9.789 MB / 1.061 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,abs1.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.0001117/0.4863, allocations: 118.9 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.4863, allocations: 3.984 kB / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.654e-05/0.4863, allocations: 16 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4863, allocations: 256 / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4864, allocations: 0 / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.4864, allocations: 4 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.4865, allocations: 117.2 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4865, allocations: 3.938 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.597e-05/0.4866, allocations: 15.98 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4866, allocations: 0 / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.4866, allocations: 7.938 kB / 1.368 GB, free: 9.457 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.4866, allocations: 3.938 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4866, allocations: 0 / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.487, allocations: 191.4 kB / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.487, allocations: 4.359 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.487, allocations: 0 / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.23e-05/0.4871, allocations: 4 kB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.4872, allocations: 11.98 kB / 1.368 GB, free: 9.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.4872, allocations: 7.984 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.633e-05/0.4872, allocations: 83.28 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4872, allocations: 0 / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002238/0.4874, allocations: 12 kB / 1.368 GB, free: 9.129 MB / 1.061 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 (abs1.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.0001188/0.4876, allocations: 95.23 kB / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002876/0.4878, allocations: 63.88 kB / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4878, allocations: 0 / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.488, allocations: 27.97 kB / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.4883, allocations: 15.88 kB / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.4887, allocations: 125.6 kB / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.161e-05/0.4888, allocations: 67.34 kB / 1.368 GB, free: 8.688 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.481e-05/0.4888, allocations: 0 / 1.368 GB, free: 8.688 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.4889, allocations: 15.44 kB / 1.368 GB, free: 8.672 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.4889, allocations: 0 / 1.368 GB, free: 8.672 MB / 1.061 GB Notification: Performance of Templates: time 0.003849/0.4927, allocations: 0.973 MB / 1.369 GB, free: 7.719 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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: 10.043747641146183]