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.001767/0.001767, allocations: 84.91 kB / 19.76 MB, free: 2.023 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.002259/0.002259, allocations: 158.2 kB / 23.01 MB, free: 4.961 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.464/1.464, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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 2.934/2.934, allocations: 394.2 MB / 0.6386 GB, free: 11.98 MB / 0.6075 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.002205/0.002205, allocations: 66.09 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.011, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001944/1.013, allocations: 0.7016 MB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009059/1.014, allocations: 0.8708 MB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.928e-05/1.014, allocations: 0 / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.939e-05/1.014, allocations: 5.406 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.757e-05/1.014, allocations: 6.328 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000192/1.015, allocations: 21.55 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.008e-05/1.015, allocations: 46.42 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/1.015, allocations: 9.203 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.706e-05/1.015, allocations: 25.58 kB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.948e-05/1.015, allocations: 22.73 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/1.015, allocations: 3.812 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.596e-05/1.015, allocations: 6.844 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.874e-05/1.015, allocations: 11.98 kB / 1.188 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/1.015, allocations: 14.44 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/1.015, allocations: 51.03 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.015, allocations: 0 / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.973e-06/1.015, allocations: 0.7031 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.361e-06/1.015, allocations: 1.156 kB / 1.188 GB, free: 14.98 MB / 1.076 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.0004629/1.016, allocations: 288.1 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/1.016, allocations: 9.344 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.592e-05/1.016, allocations: 8.125 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.411e-05/1.016, allocations: 111.5 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/1.016, allocations: 1.656 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/1.016, allocations: 6.781 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/1.016, allocations: 69.25 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/1.016, allocations: 192 / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/1.016, allocations: 9.25 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/1.016, allocations: 7.984 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/1.016, allocations: 62.8 kB / 1.189 GB, free: 14.51 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/1.017, allocations: 207.5 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/1.017, allocations: 50.98 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/1.017, allocations: 48.3 kB / 1.189 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/1.017, allocations: 5.375 kB / 1.189 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/1.017, allocations: 36.78 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/1.017, allocations: 0 / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0005426/1.018, allocations: 123.9 kB / 1.189 GB, free: 14.16 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/1.018, allocations: 57.31 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.641e-05/1.018, allocations: 107.9 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.056e-06/1.018, allocations: 25.7 kB / 1.19 GB, free: 13.96 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.935e-05/1.018, allocations: 90.59 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/1.018, allocations: 7.203 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/1.018, allocations: 16.83 kB / 1.19 GB, free: 13.85 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.956e-05/1.018, allocations: 318 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/1.018, allocations: 31.14 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/1.018, allocations: 34.92 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/1.019, allocations: 67.61 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.019, allocations: 0 / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003372/1.019, allocations: 102.2 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/1.019, allocations: 9.656 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/1.019, allocations: 0.9688 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.019, allocations: 0 / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/1.019, allocations: 16.16 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/1.019, allocations: 5.031 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.176e-05/1.019, allocations: 14.67 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/1.019, allocations: 5.156 kB / 1.19 GB, free: 13.44 MB / 1.076 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 4.676e-05/1.019, allocations: 114 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/1.019, allocations: 6.312 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003578/1.02, allocations: 103.9 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/1.02, allocations: 1.672 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.02, allocations: 4 kB / 1.19 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.02, allocations: 1.922 kB / 1.19 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/1.02, allocations: 112 kB / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/1.02, allocations: 0.5625 kB / 1.191 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.647e-05/1.02, allocations: 23.62 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.02, allocations: 0.6094 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/1.02, allocations: 1.5 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.02, allocations: 3.938 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.02, allocations: 0.6094 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/1.02, allocations: 203.8 kB / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.02e-05/1.02, allocations: 14.06 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/1.02, allocations: 0.75 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/1.02, allocations: 11.91 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/1.02, allocations: 7.672 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/1.02, allocations: 1.281 kB / 1.191 GB, free: 12.95 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.34e-05/1.02, allocations: 93.31 kB / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.02, allocations: 0 / 1.191 GB, free: 12.87 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002206/1.021, allocations: 6.094 kB / 1.191 GB, free: 12.87 MB / 1.076 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 9.769e-05/1.021, allocations: 97.44 kB / 1.191 GB, free: 12.78 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003461/1.021, allocations: 70.23 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.021, allocations: 1.562 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/1.021, allocations: 33.83 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/1.021, allocations: 11.31 kB / 1.191 GB, free: 12.76 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/1.022, allocations: 125.6 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.814e-05/1.022, allocations: 68.61 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.667e-05/1.022, allocations: 2.125 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/1.022, allocations: 9.938 kB / 1.191 GB, free: 12.56 MB / 1.076 GB Notification: Performance of SimCode: time 4.91e-07/1.022, allocations: 5.156 kB / 1.191 GB, free: 12.56 MB / 1.076 GB Notification: Performance of Templates: time 0.003227/1.025, allocations: 0.726 MB / 1.192 GB, free: 12.46 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.27487497695256]