Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001896/0.001896, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001963/0.001963, allocations: 214.9 kB / 22.25 MB, free: 4.855 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.793 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.639/3.639, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 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.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.002215/0.002215, allocations: 71.72 kB / 1.186 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4839/0.4861, allocations: 181.9 MB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.002198/0.4883, allocations: 0.6594 MB / 1.365 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.4895, allocations: 0.8864 MB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.882e-05/0.4896, allocations: 0 / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.168e-05/0.4896, allocations: 0 / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.028e-05/0.4896, allocations: 3.938 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.4898, allocations: 8 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.685e-05/0.4899, allocations: 23.92 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.49, allocations: 7.984 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.046e-05/0.4901, allocations: 11.98 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.219e-05/0.4901, allocations: 7.922 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.4902, allocations: 8 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-06/0.4902, allocations: 0 / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.4902, allocations: 4 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.4902, allocations: 7.938 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.895e-05/0.4903, allocations: 27.84 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4903, allocations: 0 / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4903, allocations: 3.938 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.4903, allocations: 0 / 1.366 GB, free: 11.95 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005021/0.4908, allocations: 258.4 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.4909, allocations: 8.031 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.4909, allocations: 16.89 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.491, allocations: 110.5 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.4911, allocations: 4.359 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.4911, allocations: 4.375 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.4913, allocations: 50.23 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4913, allocations: 192 / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.4913, allocations: 3.938 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4913, allocations: 0 / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.4915, allocations: 31.97 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.4918, allocations: 200.6 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.492, allocations: 34.56 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.595e-05/0.492, allocations: 16.91 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.4921, allocations: 3.938 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.4921, allocations: 34.56 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.4921, allocations: 0 / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.000359/0.4925, allocations: 85.58 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.4925, allocations: 55.41 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.4926, allocations: 101.8 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.4926, allocations: 25.7 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.4927, allocations: 84.09 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.4927, allocations: 11.95 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.4928, allocations: 9.719 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.4929, allocations: 318.8 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.823e-05/0.493, allocations: 24.11 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-05/0.4931, allocations: 11.98 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.4932, allocations: 40.81 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4932, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002082/0.4935, allocations: 73.55 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.4935, allocations: 8.094 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4935, allocations: 0 / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.4935, allocations: 3.938 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.483e-05/0.4936, allocations: 11.98 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.4936, allocations: 0 / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.126e-05/0.4936, allocations: 7.984 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.4936, allocations: 0 / 1.367 GB, free: 10.16 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.405e-05/0.4937, allocations: 109.8 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.4938, allocations: 7.938 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.4938, allocations: 7.312 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4938, allocations: 4 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.4938, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4938, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.4939, allocations: 101.3 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4939, allocations: 4 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.858e-05/0.494, allocations: 7.984 kB / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.494, allocations: 3.938 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.494, allocations: 0 / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.494, allocations: 3.938 kB / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.453e-06/0.494, allocations: 8 kB / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.4943, allocations: 167.5 kB / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-06/0.4943, allocations: 3.938 kB / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.4943, allocations: 0 / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.772e-05/0.4944, allocations: 7.984 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.4944, allocations: 4.188 kB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.4944, allocations: 4 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.361e-05/0.4945, allocations: 87.25 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4945, allocations: 0 / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002137/0.4947, allocations: 4.031 kB / 1.368 GB, free: 9.574 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001384/0.4948, allocations: 95.25 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002205/0.495, allocations: 35.91 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.495, allocations: 0 / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.819e-05/0.4951, allocations: 23.97 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.4954, allocations: 2 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.4957, allocations: 109.6 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.924e-05/0.4958, allocations: 59.36 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.438e-05/0.4958, allocations: 7.922 kB / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.4959, allocations: 7.438 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.4959, allocations: 0 / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of Templates: time 0.002779/0.4986, allocations: 463.5 kB / 1.368 GB, free: 8.742 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.109172273427248]