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.001851/0.001851, 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.002317/0.002317, allocations: 214.7 kB / 22.25 MB, free: 4.859 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.571/1.571, 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 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 2.88/2.88, allocations: 476 MB / 0.7699 GB, free: 4.727 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.002191/0.002191, allocations: 68.02 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4315, allocations: 170 MB / 1.283 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002026/0.4335, allocations: 0.672 MB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.4347, allocations: 0.8511 MB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.979e-05/0.4348, allocations: 4 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.4348, allocations: 0 / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.596e-05/0.4349, allocations: 3.938 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.4351, allocations: 11.98 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.358e-05/0.4351, allocations: 19.94 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.4352, allocations: 7.984 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.351e-05/0.4353, allocations: 7.938 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.981e-05/0.4353, allocations: 15.97 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.4354, allocations: 4 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.998e-05/0.4354, allocations: 8 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.4354, allocations: 0 / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.4354, allocations: 11.94 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.4356, allocations: 35.77 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4356, allocations: 0 / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4356, allocations: 0 / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.4356, allocations: 0 / 1.285 GB, free: 10.24 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.0004913/0.4361, allocations: 262.3 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.4361, allocations: 15.97 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.303e-05/0.4362, allocations: 4.938 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.4364, allocations: 106.5 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.4364, allocations: 384 / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.4364, allocations: 4.375 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.4366, allocations: 46.23 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.4366, allocations: 192 / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.4366, allocations: 7.938 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4367, allocations: 0 / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.4368, allocations: 43.89 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.4372, allocations: 196.5 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.4373, allocations: 38.59 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.72e-05/0.4374, allocations: 20.91 kB / 1.285 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.4374, allocations: 7.938 kB / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.4374, allocations: 30.56 kB / 1.285 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.4375, allocations: 0 / 1.285 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.00037/0.4378, allocations: 89.58 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.4379, allocations: 51.41 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.198e-05/0.438, allocations: 93.86 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.438, allocations: 29.7 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.4381, allocations: 92.06 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.4381, allocations: 3.953 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.4381, allocations: 13.72 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.4383, allocations: 314.8 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.931e-05/0.4384, allocations: 16.11 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.509e-05/0.4385, allocations: 23.97 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.4386, allocations: 36.77 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4386, allocations: 0 / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002009/0.4388, allocations: 69.69 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.4388, allocations: 8 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.4388, allocations: 0 / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.4389, allocations: 8 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.294e-05/0.4389, allocations: 7.984 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.439, allocations: 0 / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.439, allocations: 4 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.439, allocations: 0 / 1.286 GB, free: 8.449 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 9.725e-05/0.4391, allocations: 117.8 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.4391, allocations: 7.891 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003909/0.4395, allocations: 76.91 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.4395, allocations: 192 / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4395, allocations: 0 / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4395, allocations: 3.984 kB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.4397, allocations: 109.2 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4397, allocations: 0 / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.068e-05/0.4397, allocations: 8 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.4397, allocations: 3.938 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.4397, allocations: 8.016 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4397, allocations: 0 / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4398, allocations: 0 / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.4401, allocations: 163.5 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.123e-05/0.4401, allocations: 7.938 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.4401, allocations: 0 / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/0.4402, allocations: 4 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.4402, allocations: 3.984 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.4402, allocations: 4.031 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.957e-05/0.4403, allocations: 83.28 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4403, allocations: 3.938 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002141/0.4405, allocations: 4 kB / 1.287 GB, free: 7.793 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.0001454/0.4406, allocations: 95.25 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002036/0.4408, allocations: 35.95 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4408, allocations: 0 / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.468e-05/0.4409, allocations: 27.98 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.4412, allocations: 5.859 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003232/0.4415, allocations: 102.3 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.374e-05/0.4416, allocations: 59.34 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.242e-05/0.4416, allocations: 4 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.4417, allocations: 7.438 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.4417, allocations: 0 / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of Templates: time 0.002899/0.4446, allocations: 459.2 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB " [Timeout remaining time 299] 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.63951763510704]