Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.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.001974/0.001974, 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.002121/0.002121, allocations: 210.3 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.641/1.641, 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.592/3.592, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") [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.002122/0.002122, allocations: 62 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4251, allocations: 181.9 MB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001938/0.427, allocations: 0.6944 MB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.4281, allocations: 0.8709 MB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.867e-05/0.4281, allocations: 4 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.953e-05/0.4282, allocations: 7.938 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.5e-05/0.4283, allocations: 7.922 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.4286, allocations: 19.92 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.4287, allocations: 35.92 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.4289, allocations: 11.98 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.4291, allocations: 23.91 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.756e-05/0.4291, allocations: 15.92 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.4291, allocations: 4 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.976e-05/0.4292, allocations: 12 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.524e-05/0.4293, allocations: 15.92 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/0.4293, allocations: 15.88 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.4295, allocations: 51.73 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.4295, allocations: 0 / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.659e-06/0.4295, allocations: 0 / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.4295, allocations: 0 / 1.366 GB, free: 11.71 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007951/0.4303, allocations: 290.2 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.4304, allocations: 12.03 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.4306, allocations: 8.891 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.4307, allocations: 114.5 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.4308, allocations: 384 / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.4308, allocations: 384 / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/0.4311, allocations: 74.2 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.4311, allocations: 4.125 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.4311, allocations: 3.938 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4311, allocations: 0 / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.4314, allocations: 71.86 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.4319, allocations: 204.6 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.4321, allocations: 54.55 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.4323, allocations: 40.84 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.4323, allocations: 0 / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.4324, allocations: 34.56 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.4324, allocations: 4 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0006055/0.433, allocations: 133.5 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.433, allocations: 51.41 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.4331, allocations: 113.8 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.4331, allocations: 25.7 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.4332, allocations: 96.03 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.4332, allocations: 7.953 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.4333, allocations: 13.7 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.4335, allocations: 318.8 kB / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.4336, allocations: 27.97 kB / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.4338, allocations: 35.95 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.434, allocations: 72.72 kB / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.434, allocations: 0 / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003143/0.4344, allocations: 97.56 kB / 1.367 GB, free: 9.668 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.4344, allocations: 8 kB / 1.367 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.4344, allocations: 0 / 1.367 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.4344, allocations: 0 / 1.367 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.4345, allocations: 15.98 kB / 1.367 GB, free: 9.645 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.4345, allocations: 4 kB / 1.367 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.109e-05/0.4346, allocations: 15.92 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.4346, allocations: 4 kB / 1.368 GB, free: 9.621 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 (3): * Single equations (assignments): 3 * 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.0001124/0.4348, allocations: 113.8 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.4348, allocations: 7.938 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003885/0.4352, allocations: 109.5 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4352, allocations: 4 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.4352, allocations: 4 kB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4352, allocations: 0 / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.4353, allocations: 113.2 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4353, allocations: 0 / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.936e-05/0.4354, allocations: 19.91 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4355, allocations: 4 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.4355, allocations: 0 / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4355, allocations: 4 kB / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4355, allocations: 0 / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.4359, allocations: 195.4 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.4359, allocations: 7.938 kB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.4359, allocations: 0 / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.436, allocations: 15.97 kB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.436, allocations: 8 kB / 1.368 GB, free: 8.953 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.436, allocations: 0 / 1.368 GB, free: 8.953 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.395e-05/0.4361, allocations: 87.27 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4361, allocations: 0 / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002287/0.4363, allocations: 12 kB / 1.368 GB, free: 8.855 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 (3): * Single equations (assignments): 3 * 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.0001991/0.4365, allocations: 91.25 kB / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003876/0.4369, allocations: 72.34 kB / 1.368 GB, free: 8.688 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4369, allocations: 0 / 1.368 GB, free: 8.688 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.4371, allocations: 39.89 kB / 1.368 GB, free: 8.648 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.4375, allocations: 6.078 kB / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.4379, allocations: 134.2 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.878e-05/0.438, allocations: 67.33 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.301e-05/0.438, allocations: 8 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.438, allocations: 7.438 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.438, allocations: 0 / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of Templates: time 0.003652/0.4417, allocations: 0.753 MB / 1.369 GB, free: 7.648 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.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.88612706400454]