Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.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.00181/0.00181, 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.002667/0.002667, allocations: 208.2 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.6/1.6, allocations: 230.6 MB / 256 MB, free: 7.797 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.575/3.575, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") [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.002071/0.002071, allocations: 67.41 kB / 1.186 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4488, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002014/0.4508, allocations: 0.666 MB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.452, allocations: 0.8514 MB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.667e-05/0.452, allocations: 0 / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.452, allocations: 0 / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.707e-05/0.4521, allocations: 7.938 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.4523, allocations: 11.98 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.703e-05/0.4524, allocations: 27.92 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.4525, allocations: 3.984 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.919e-05/0.4526, allocations: 15.92 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.982e-05/0.4526, allocations: 7.984 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.4526, allocations: 4 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.28e-05/0.4527, allocations: 8 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.4527, allocations: 3.938 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.4527, allocations: 4 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.4528, allocations: 35.77 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4528, allocations: 0 / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4528, allocations: 4 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.4528, allocations: 0 / 1.366 GB, free: 11.9 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.0004872/0.4533, allocations: 262.3 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.4534, allocations: 8.031 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.519e-05/0.4535, allocations: 8.891 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.4536, allocations: 106.5 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.4536, allocations: 4.375 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.4536, allocations: 384 / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.4538, allocations: 50.23 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.4538, allocations: 4.188 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.4539, allocations: 3.938 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.4539, allocations: 0 / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.454, allocations: 39.89 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.4544, allocations: 192.5 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.4546, allocations: 38.59 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.4547, allocations: 28.84 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.737e-05/0.4547, allocations: 3.938 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.266e-05/0.4548, allocations: 34.56 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.4548, allocations: 0 / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0004288/0.4552, allocations: 85.58 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.4552, allocations: 51.41 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.4554, allocations: 97.84 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.4554, allocations: 25.83 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.408e-05/0.4555, allocations: 96.09 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.4556, allocations: 3.953 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.4556, allocations: 9.719 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002546/0.4559, allocations: 318.8 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.212e-05/0.4559, allocations: 15.97 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.221e-05/0.456, allocations: 15.98 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.4562, allocations: 44.83 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4562, allocations: 0 / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002053/0.4564, allocations: 69.59 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.4564, allocations: 4 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4564, allocations: 0 / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.4564, allocations: 0 / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.4565, allocations: 11.98 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.4566, allocations: 0 / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.4566, allocations: 12.02 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.4566, allocations: 0 / 1.367 GB, free: 10.11 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 0.0001264/0.4567, allocations: 113.8 kB / 1.367 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.4568, allocations: 3.938 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.457, allocations: 72.91 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.457, allocations: 0 / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.457, allocations: 4 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.457, allocations: 3.938 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.4572, allocations: 109.3 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4572, allocations: 0 / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.983e-05/0.4573, allocations: 11.98 kB / 1.367 GB, free: 9.746 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.4573, allocations: 3.938 kB / 1.367 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.4573, allocations: 192 / 1.367 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4573, allocations: 0 / 1.367 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4573, allocations: 3.938 kB / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.4576, allocations: 171.4 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.4576, allocations: 11.97 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.4576, allocations: 0 / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.4577, allocations: 7.984 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.4577, allocations: 0 / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.4577, allocations: 0 / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.153e-05/0.4578, allocations: 83.28 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4578, allocations: 0 / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002225/0.458, allocations: 4 kB / 1.368 GB, free: 9.449 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.0001898/0.4582, allocations: 95.23 kB / 1.368 GB, free: 9.344 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.4585, allocations: 39.97 kB / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4585, allocations: 0 / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.63e-05/0.4586, allocations: 19.92 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.4589, allocations: 10.05 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003944/0.4593, allocations: 106.3 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.673e-05/0.4594, allocations: 55.48 kB / 1.368 GB, free: 9.074 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.419e-05/0.4594, allocations: 4 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.4594, allocations: 11.44 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4594, allocations: 0 / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of Templates: time 0.003093/0.4625, allocations: 474.8 kB / 1.368 GB, free: 8.602 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.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.816856883466244]