Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.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.0019/0.0019, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002521/0.002521, allocations: 217.4 kB / 22.25 MB, free: 5.129 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.626/1.626, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.083/3.083, allocations: 476.7 MB / 0.7706 GB, free: 4.246 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tan1.u|tan1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan") [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.002162/0.002162, allocations: 63.77 kB / 1.118 GB, free: 39.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4411, allocations: 170 MB / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002135/0.4433, allocations: 0.6769 MB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.4444, allocations: 0.855 MB / 1.285 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.958e-05/0.4445, allocations: 0 / 1.285 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.571e-05/0.4445, allocations: 3.938 kB / 1.285 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.253e-05/0.4446, allocations: 0 / 1.285 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.4449, allocations: 19.86 kB / 1.285 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.602e-05/0.445, allocations: 27.97 kB / 1.285 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.4451, allocations: 3.938 kB / 1.285 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.898e-05/0.4452, allocations: 11.98 kB / 1.285 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.694e-05/0.4452, allocations: 11.94 kB / 1.285 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.4453, allocations: 0 / 1.285 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.169e-05/0.4453, allocations: 4 kB / 1.285 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.4453, allocations: 11.98 kB / 1.285 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.4453, allocations: 7.938 kB / 1.285 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.4455, allocations: 39.83 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4455, allocations: 0 / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4455, allocations: 0 / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.4455, allocations: 0 / 1.286 GB, free: 9.188 MB / 0.9825 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.0005546/0.446, allocations: 258.3 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.4461, allocations: 12.03 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.01e-05/0.4462, allocations: 0.9375 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.4463, allocations: 118.5 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.4463, allocations: 384 / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.4463, allocations: 4.359 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.4465, allocations: 54.17 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4465, allocations: 192 / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.4465, allocations: 3.938 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.4465, allocations: 7.938 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.4467, allocations: 31.97 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.4471, allocations: 216 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.4472, allocations: 42.53 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.58e-05/0.4473, allocations: 28.84 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.4473, allocations: 0 / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.4474, allocations: 34.56 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 6.92e-07/0.4474, allocations: 0 / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003607/0.4477, allocations: 81.64 kB / 1.286 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.4478, allocations: 51.41 kB / 1.286 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.4479, allocations: 97.84 kB / 1.286 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.4479, allocations: 25.83 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.448, allocations: 92.14 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.448, allocations: 3.953 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.448, allocations: 9.719 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002306/0.4483, allocations: 322.8 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.56e-05/0.4484, allocations: 15.92 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.979e-05/0.4484, allocations: 15.98 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.4486, allocations: 40.89 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4486, allocations: 3.938 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002018/0.4488, allocations: 69.59 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.4488, allocations: 4 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.4488, allocations: 0 / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.4488, allocations: 0 / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.214e-05/0.4489, allocations: 16.02 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.4489, allocations: 0 / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.296e-05/0.449, allocations: 7.984 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.449, allocations: 3.938 kB / 1.287 GB, free: 7.359 MB / 0.9825 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 0.0001044/0.4491, allocations: 117.8 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.4491, allocations: 3.953 kB / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003348/0.4494, allocations: 68.97 kB / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4494, allocations: 0 / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.4495, allocations: 4 kB / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4495, allocations: 0 / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.4496, allocations: 132.7 kB / 1.287 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.4496, allocations: 4 kB / 1.287 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.725e-05/0.4497, allocations: 7.984 kB / 1.287 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.4497, allocations: 4 kB / 1.287 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.4497, allocations: 0 / 1.287 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.4497, allocations: 0 / 1.287 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4497, allocations: 4.031 kB / 1.287 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.4501, allocations: 167.4 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-06/0.4501, allocations: 3.938 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.4501, allocations: 0 / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.4502, allocations: 4 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.4502, allocations: 16.2 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.4502, allocations: 0 / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001042/0.4503, allocations: 83.27 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4503, allocations: 0 / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002141/0.4505, allocations: 4 kB / 1.288 GB, free: 6.676 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: 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.000167/0.4507, allocations: 95.23 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.4509, allocations: 39.91 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4509, allocations: 0 / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.895e-05/0.451, allocations: 19.98 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.4514, allocations: 11.92 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004124/0.4518, allocations: 106.2 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.4522, allocations: 0.6729 MB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.749e-05/0.4523, allocations: 8.125 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.4523, allocations: 7.438 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.4523, allocations: 0 / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of Templates: time 0.003243/0.4556, allocations: 450.9 kB / 1.289 GB, free: 5.219 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Tan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Tan.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: 9.916600212920457]