Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001321/0.001321, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001499/0.001499, allocations: 217.4 kB / 23.01 MB, free: 4.609 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.159/3.159, allocations: 0.49 GB / 0.7958 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_12_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_12_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.002101/0.002101, allocations: 67.42 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.327, allocations: 176.1 MB / 1.327 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001879/0.3288, allocations: 0.7186 MB / 1.328 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.3299, allocations: 0.8825 MB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.3299, allocations: 0 / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.794e-05/0.3299, allocations: 3.938 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.855e-05/0.33, allocations: 11.88 kB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.3302, allocations: 19.98 kB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.747e-05/0.3303, allocations: 51.84 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.763e-05/0.3303, allocations: 4 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.275e-05/0.3304, allocations: 19.92 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.028e-05/0.3305, allocations: 27.91 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.3305, allocations: 0 / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.309e-05/0.3305, allocations: 8 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.3305, allocations: 11.92 kB / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.3306, allocations: 19.88 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.3307, allocations: 51.78 kB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3307, allocations: 0 / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3307, allocations: 4 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.3307, allocations: 0 / 1.329 GB, free: 15.59 MB / 1.029 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.0005068/0.3312, allocations: 290.2 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3312, allocations: 12.03 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.746e-05/0.3313, allocations: 8.922 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.3314, allocations: 110.5 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-06/0.3314, allocations: 4.375 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.3315, allocations: 8.312 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.3317, allocations: 70.22 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3317, allocations: 192 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3317, allocations: 3.938 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.3317, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.332, allocations: 67.86 kB / 1.33 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.3323, allocations: 236 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.3325, allocations: 58.42 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.3327, allocations: 40.91 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.3327, allocations: 4 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.3327, allocations: 34.56 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3327, allocations: 0 / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005098/0.3332, allocations: 129.5 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.3333, allocations: 59.34 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.846e-05/0.3334, allocations: 105.8 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.3334, allocations: 29.7 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.3334, allocations: 88.08 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.3335, allocations: 3.953 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.3335, allocations: 17.72 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3336, allocations: 314.8 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.3338, allocations: 35.97 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.3339, allocations: 31.95 kB / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.3341, allocations: 64.8 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3342, allocations: 3.938 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003098/0.3345, allocations: 109.5 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.3345, allocations: 4 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.3345, allocations: 0 / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.3345, allocations: 0 / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.3346, allocations: 15.98 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.3346, allocations: 0 / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.754e-05/0.3347, allocations: 19.98 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3347, allocations: 3.938 kB / 1.331 GB, free: 13.46 MB / 1.029 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 7.962e-05/0.3348, allocations: 117.8 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.3348, allocations: 3.953 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003517/0.3352, allocations: 105.9 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3352, allocations: 8.031 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3352, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3352, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.3353, allocations: 144.6 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3353, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.3354, allocations: 19.97 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3355, allocations: 7.938 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.3355, allocations: 0 / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3355, allocations: 0 / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3355, allocations: 0 / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.3358, allocations: 199.4 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.806e-06/0.3358, allocations: 3.953 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.3358, allocations: 3.984 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.3359, allocations: 11.98 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.336, allocations: 8 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.336, allocations: 4 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.707e-05/0.336, allocations: 83.27 kB / 1.332 GB, free: 12.67 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.336, allocations: 0 / 1.332 GB, free: 12.67 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002192/0.3363, allocations: 12 kB / 1.332 GB, free: 12.66 MB / 1.029 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.905e-05/0.3364, allocations: 99.17 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003297/0.3367, allocations: 71.92 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.3367, allocations: 0 / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.3368, allocations: 35.95 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.3371, allocations: 9.5 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.3374, allocations: 163.9 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.3377, allocations: 0.6807 MB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.3378, allocations: 11.44 kB / 1.333 GB, free: 11.53 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3378, allocations: 0 / 1.333 GB, free: 11.53 MB / 1.029 GB Notification: Performance of Templates: time 0.002212/0.34, allocations: 0.763 MB / 1.333 GB, free: 10.77 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.859543720987858]