Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002269/0.002269, allocations: 87.69 kB / 20.24 MB, free: 4.188 MB / 18.57 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.002096/0.002096, allocations: 161.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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: 177.1 MB / 203.9 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.934/2.934, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.188e-05, allocations: 5.125 kB / 0.7865 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002051/0.002083, allocations: 0.7 MB / 0.7871 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.003423, allocations: 0.8716 MB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.00346, allocations: 3.938 kB / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.342e-05/0.003484, allocations: 4.812 kB / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.26e-05/0.003556, allocations: 3.938 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001947/0.003751, allocations: 24.94 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.383e-05/0.003845, allocations: 43.84 kB / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.454e-05/0.003939, allocations: 8.656 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.00405, allocations: 27.86 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.947e-05/0.0041, allocations: 16.5 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.00412, allocations: 4.781 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.396e-05/0.004174, allocations: 12 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.004197, allocations: 13.52 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.004227, allocations: 11.98 kB / 0.7882 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.004381, allocations: 51.8 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.004384, allocations: 0 / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.62e-07/0.004384, allocations: 3.438 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.004389, allocations: 0 / 0.7882 GB, free: 10.96 MB / 0.7448 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.0005634/0.004952, allocations: 376.2 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.004998, allocations: 8.031 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.005116, allocations: 16.89 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.00525, allocations: 120.5 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.005262, allocations: 384 / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-06/0.005271, allocations: 384 / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.005482, allocations: 62.92 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.00549, allocations: 192 / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.005499, allocations: 0.9688 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.005503, allocations: 4.375 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.005702, allocations: 45.44 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.006152, allocations: 263.8 kB / 0.7891 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.006324, allocations: 56.27 kB / 0.7891 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.006434, allocations: 31.77 kB / 0.7892 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.006457, allocations: 4.625 kB / 0.7892 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.006496, allocations: 37.38 kB / 0.7892 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.006497, allocations: 1.312 kB / 0.7892 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0004468/0.006944, allocations: 103.1 kB / 0.7893 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.006992, allocations: 51.41 kB / 0.7893 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.007137, allocations: 169.9 kB / 0.7895 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.007161, allocations: 29.7 kB / 0.7895 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.896e-05/0.00725, allocations: 131.4 kB / 0.7897 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.007272, allocations: 15.89 kB / 0.7897 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.007322, allocations: 24.73 kB / 0.7897 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002736/0.007596, allocations: 0.4883 MB / 0.7902 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.685e-05/0.007693, allocations: 19.98 kB / 0.7902 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.079e-05/0.007784, allocations: 24.61 kB / 0.7902 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.00797, allocations: 49.62 kB / 0.7903 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.007971, allocations: 0 / 0.7903 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000239/0.00821, allocations: 78.14 kB / 0.7903 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.008233, allocations: 13.66 kB / 0.7903 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.008239, allocations: 1.031 kB / 0.7903 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.008254, allocations: 0 / 0.7903 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.00836, allocations: 13.22 kB / 0.7904 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.008369, allocations: 3.984 kB / 0.7904 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.877e-05/0.008428, allocations: 8.625 kB / 0.7904 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.008438, allocations: 3.984 kB / 0.7904 GB, free: 8.543 MB / 0.7448 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.0001197/0.008558, allocations: 157.7 kB / 0.7905 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.008584, allocations: 0 / 0.7905 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.008884, allocations: 94.33 kB / 0.7906 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.008886, allocations: 0.7188 kB / 0.7906 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.008889, allocations: 0 / 0.7906 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.008891, allocations: 0.5 kB / 0.7906 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.009073, allocations: 129.7 kB / 0.7907 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009075, allocations: 0 / 0.7907 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.248e-05/0.009147, allocations: 11.98 kB / 0.7908 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.009149, allocations: 0.9062 kB / 0.7908 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.00916, allocations: 7.938 kB / 0.7908 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.009166, allocations: 4.781 kB / 0.7908 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.009166, allocations: 0 / 0.7908 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.009511, allocations: 226.1 kB / 0.791 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-06/0.00952, allocations: 0 / 0.791 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.009537, allocations: 4 kB / 0.791 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/0.009618, allocations: 7.938 kB / 0.791 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.009668, allocations: 8.406 kB / 0.791 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-06/0.009672, allocations: 2.75 kB / 0.791 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001112/0.009783, allocations: 135.2 kB / 0.7911 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.009783, allocations: 0 / 0.7911 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002199/0.01, allocations: 8 kB / 0.7911 GB, free: 7.699 MB / 0.7448 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.0001378/0.01014, allocations: 91.25 kB / 0.7912 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.0104, allocations: 69.02 kB / 0.7913 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01041, allocations: 0 / 0.7913 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.01052, allocations: 31.67 kB / 0.7913 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.0108, allocations: 10.11 kB / 0.7913 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.01118, allocations: 134.2 kB / 0.7915 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.036e-05/0.01126, allocations: 72.06 kB / 0.7915 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.991e-05/0.01129, allocations: 0.5625 kB / 0.7915 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.01133, allocations: 13.59 kB / 0.7915 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.01133, allocations: 3.938 kB / 0.7915 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of Templates: time 0.004293/0.01562, allocations: 0.7464 MB / 0.7923 GB, free: 6.5 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.108007258968428]